In file included from sketch\UltiLCD2_menu_main.cpp:14:0:
sketch\machinesettings.h: In member function 'bool MachineSettings::has_saved_settings(uint8_t) const':
machinesettings.h:24:87: error: operands to ?: have different types 'MachineSettings::t_machinesettings*' and 'bool'
bool has_saved_settings(uint8_t index) const { return (index < MAX_MACHINE_SETTINGS) ? settings[index] : false; }
commenting the line seems to do the trick :
//bool has_saved_settings(uint8_t index) const { return (index < MAX_MACHINE_SETTINGS) ? settings[index] : false; }
cf : https://community.ultimaker.com/topic/15939-tinker-firmware-introduction/page/6/
"But i think, the whole function is not used at all - you can probably just delete it..."
compile says :
In file included from sketch\UltiLCD2_menu_main.cpp:14:0: sketch\machinesettings.h: In member function 'bool MachineSettings::has_saved_settings(uint8_t) const': machinesettings.h:24:87: error: operands to ?: have different types 'MachineSettings::t_machinesettings*' and 'bool' bool has_saved_settings(uint8_t index) const { return (index < MAX_MACHINE_SETTINGS) ? settings[index] : false; }