CXX temperature.cpp In file included from temperature.cpp:32:0:
temperature.cpp: In function 'void manage_heater()':
Marlin.h:77:52: error: void value not ignored as it ought to be
#define SERIAL_ECHO_START (serialprintPGM(echomagic))
^
temperature.cpp:452:5: note: in expansion of macro 'SERIAL_ECHO_START'
SERIAL_ECHO_START(" PIDDEBUG ");
^
make: *** [applet/temperature.o] Error 1
如果您在 Configuration.h 中定义 PID_DEBUG,则编译中断:
解决方法:删除 (” PIDDEBUG “),因为 SERIAL_ECHO_START 宏不带参数。