Im getting these erors when i validate my firmware.
motherboard MKS-Base v1.4 (RAMPS v1.4)
Arduino: 1.6.6 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Repetier.h:198:0,
sketch\Printer.cpp: In static member function 'static void Printer::showConfiguration()':
Configuration.h:47: error: 'ORIG_FAN2_PIN' was not declared in this scope
#define FAN_PIN ORIG_FAN2_PIN
sketch\Printer.cpp:1856:30: note: in expansion of macro 'FAN_PIN'
Com::config(PSTR("Fan:"),FAN_PIN > -1 && FEATURE_FAN_CONTROL);
exit status 1
'ORIG_FAN2_PIN' was not declared in this scope
I have 2 extruders that have both 1 one fan for cooling the extruders, that fan connects to digital pin 11
my print cooling fan connects to the fan header on the print.
in my arduino code both extruders can acces the digital pin 11 fan, even if i allow one to use the fan i still get the error.
any suggestions what i am doing wrong??