Firmware compiler error RETRACTION_UNDO_EXTRA_LENGTH

edited October 2015 in Bug Reports
Hi,

There seem to be a bug in the firmware. If the Eeprom value is to 0 following error pops up compiling the firmware:

Compiling 'Repetier' for 'Arduino Due (Native USB Port)'
Printer.cpp:In static member function 'static void Printer::showConfiguration()'
Printer.cpp:1986:94: error: call of overloaded 'config(const char [27], double)' is ambiguous
     Com*:config(PSTR("RetractionUndoExtraLength:"),EEPROM_FLOAT(RETRACTION_UNDO_EXTRA_LENGTH));
Printer.cpp:candidates are
Communication.h:config(const char*, int)
Communication.h:config(const char*, int32_t)
Communication.h:config(const char*, uint32_t)
Communication.h:config(const char*, float, uint8_t)
Printer.cpp:1987:103: error: call of overloaded 'config(const char [31], double)' is ambiguous
     Com*:config(PSTR("RetractionUndoExtraLongLength:"),EEPROM_FLOAT(RETRACTION_UNDO_EXTRA_LONG_LENGTH));
Printer.cpp:candidates are
Communication.h:config(const char*, int)
Communication.h:config(const char*, int32_t)
Communication.h:config(const char*, uint32_t)
Communication.h:config(const char*, float, uint8_t)
Error compiling

Tested with firmware for Due and Mega

Disabling EEPROM_FLOAT(RETRACTION_UNDO_EXTRA_LENGTH and EEPROM_FLOAT(RETRACTION_UNDO_EXTRA_LONG_LENGTH with // works.

Thanks in advance,
Svake


Comments

Sign In or Register to comment.