When compiling Repetier Firmware V0.82.2 for Rambo motherboard I receive below compile error:
'Motor_Current' was not declared in this scope
Commands.cpp: In function 'void current_control_init()':
Commands.cpp:238: error: 'MOTOR_CURRENT' was not declared in this scope
Only' #define MOTHERBOARD 301' changed in config file.
Commands.cpp
#if DIGIPOTSS_PIN && DIGIPOTSS_PIN > -1
const uint8_t digipot_motor_current[] = MOTOR_CURRENT;
SPI.begin();
SET_OUTPUT(DIGIPOTSS_PIN);
for(int i=0;i<=4;i++)
//digitalPotWrite(digipot_ch
, digipot_motor_current);
set_current(i,digipot_motor_current);
#endif
Anybody know how to fix this one?