CoreXZ Compiling Error

edited June 15 in Bug Reports
I get an error when trying to compile newly downloaded Repetier-Firmware with coreXZ configuration.

/*error message
Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Repetier.h:886:0,
                 from sketch\BedLeveling.cpp:107:
sketch\motion.h: In member function 'void PrintLine::setXMoveFinished()':
motion.h:353: error: expected ';' before '}' token
     }
     ^
sketch\motion.h: In member function 'void PrintLine::setZMoveFinished()':
motion.h:369: error: expected ';' before '}' token
     }
     ^
exit status 1
expected ';' before '}' token
*/

Adding ";" after dir &= ~80 and dir &= ~80 in motion.h solved the compiling issue

#elif DRIVE_SYSTEM==XZ_GANTRY || DRIVE_SYSTEM==ZX_GANTRY        
        dir &= ~80     //missing ";"
#else
#if DRIVE_SYSTEM==XZ_GANTRY || DRIVE_SYSTEM==ZX_GANTRY       
        dir &= ~80     //missing ";"
#else

Comments

Sign In or Register to comment.