Compiling error with jam control

Hello, I'm trying to implement the jam filament control in 2 or 3 mode (firmware version 1.0.0dev) , but I have a compile error, help me please. Thanks!!!


In file included from sketch\Repetier.h:884:0,

                 from sketch\Extruder.cpp:22:

sketch\Extruder.cpp: In static member function 'static void Extruder::step()':

Extruder.h:196: error: expected ';' before ')' token

      extruder[x].jamLastSignal ) sig;\

                                ^

sketch\Extruder.h:217:35: note: in expansion of macro '_TEST_EXTRUDER_JAM'

 #define ___TEST_EXTRUDER_JAM(x,y) _TEST_EXTRUDER_JAM(x,y)

                                   ^

sketch\Extruder.h:218:32: note: in expansion of macro '___TEST_EXTRUDER_JAM'

 #define __TEST_EXTRUDER_JAM(x) ___TEST_EXTRUDER_JAM(x,EXT ## x ## _JAM_PIN)

                                ^

sketch\Extruder.h:219:30: note: in expansion of macro '__TEST_EXTRUDER_JAM'

 #define TEST_EXTRUDER_JAM(x) __TEST_EXTRUDER_JAM(x)

                              ^

sketch\Extruder.cpp:1316:5: note: in expansion of macro 'TEST_EXTRUDER_JAM'

     TEST_EXTRUDER_JAM(0)

     ^

exit status 1
expected ';' before ')' token

Comments

Sign In or Register to comment.