When I try to compile Repetier-firmware with Z-probing enabled, I get this error:
In file included from Repetier.h:374:0,
from ui.cpp:20:
Printer.h:439:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
Printer.h:439:1: error: invalid suffix "_RPORT" on integer constant
Printer.h:439:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
Printer.h:439:1: error: invalid suffix "_PIN" on integer constant
Printer.h:439:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
Printer.h:439:1: error: invalid suffix "_RPORT" on integer constant
Printer.h:439:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
Printer.h:439:1: error: invalid suffix "_PIN" on integer constant
Printer.h: In static member function ‘static bool Printer::isZProbeHit()’:
Printer.h:439:1: error: ‘DIO’ was not declared in this scope
The error goes away, and the firmware seems to work fine, when I disable Z-probing.
Edited 1 time(s). Last edit at 02/19/2014 03:40PM by epicepee.