I messed something up. It was compiling fine and now I get this error. If anyone is really good at marlin. Please look over. If you can give me some advice on how to find what i changed so I can fix it. It would greatly appreciated.
Here is the Error
Arduino: 1.8.3 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
In file included from sketch\MarlinConfig.h:37:0,
from sketch\Marlin.h:36,
from sketch\Marlin_main.cpp:230:
sketch\temperature.h: In static member function 'static void Temperature::setTargetBed(int16_t)':
E:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:25: error: expected primary-expression before ')' token
#define min(a,b) ((a)<(b)?(a):(b))
^
sketch\temperature.h:399:13: note: in expansion of macro 'min'
min(celsius, BED_MAXTEMP)
^
E:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:33: error: expected primary-expression before ')' token
#define min(a,b) ((a)<(b)?(a):(b))
^
sketch\temperature.h:399:13: note: in expansion of macro 'min'
min(celsius, BED_MAXTEMP)
^
In file included from sketch\Marlin_main.cpp:245:0:
sketch\gcode.h: At global scope:
sketch\gcode.h:123:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
static volatile bool seen(const char c) {
^
exit status 1
Error compiling for board Sanguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Here is the Error
Arduino: 1.8.3 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
In file included from sketch\MarlinConfig.h:37:0,
from sketch\Marlin.h:36,
from sketch\Marlin_main.cpp:230:
sketch\temperature.h: In static member function 'static void Temperature::setTargetBed(int16_t)':
E:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:25: error: expected primary-expression before ')' token
#define min(a,b) ((a)<(b)?(a):(b))
^
sketch\temperature.h:399:13: note: in expansion of macro 'min'
min(celsius, BED_MAXTEMP)
^
E:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:33: error: expected primary-expression before ')' token
#define min(a,b) ((a)<(b)?(a):(b))
^
sketch\temperature.h:399:13: note: in expansion of macro 'min'
min(celsius, BED_MAXTEMP)
^
In file included from sketch\Marlin_main.cpp:245:0:
sketch\gcode.h: At global scope:
sketch\gcode.h:123:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
static volatile bool seen(const char c) {
^
exit status 1
Error compiling for board Sanguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.