mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-04 12:33:55 -06:00
Stop redefining MOTHERBOARD and #define AT90USB instead. Also put #ifndef AT90USB around the HardwareSerial_h trick, so now Printrboard / Brainwave support compiles on Arduino 1.0.2 as well.
This commit is contained in:
parent
4d351b4846
commit
6cba11f087
5 changed files with 12 additions and 13 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "Marlin.h"
|
||||
#include "MarlinSerial.h"
|
||||
|
||||
#if MOTHERBOARD != 8 // !teensylu
|
||||
#ifndef AT90USB
|
||||
// this next line disables the entire HardwareSerial.cpp,
|
||||
// this is so I can support Attiny series and any other chip without a uart
|
||||
#if defined(UBRRH) || defined(UBRR0H) || defined(UBRR1H) || defined(UBRR2H) || defined(UBRR3H)
|
||||
|
@ -319,5 +319,4 @@ void MarlinSerial::printFloat(double number, uint8_t digits)
|
|||
MarlinSerial MSerial;
|
||||
|
||||
#endif // whole file
|
||||
#endif //teensylu
|
||||
|
||||
#endif // !AT90USB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue