Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

Repetier Firmware V0.82.2 Compile Error - Rambo (1 reply)

$
0
0
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?

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>