Results 1 to 10 of 757
Threaded View
-
08-05-2014, 05:54 PM #11
Still getting an error when I compile. From Post #75 I'm not real sure where to put this:
In ConfigurationStore.h:
#ifdef EEPROM_SETTINGS
void Invalidate_EEPROM_Settings(); // Roxy routine to guarantee we are using default firmware values
void Config_StoreSettings();
void Config_RetrieveSettings();
#else
FORCE_INLINE void Config_StoreSettings() {}
FORCE_INLINE void Config_RetrieveSettings() { Config_ResetDefault(); Config_PrintSettings(); }
#endif
I put it after:
29: #define EEPROM_READ_VAR(pos, value) _EEPROM_readData(pos, (uint8_t*)&value, sizeof(value))
Here's the error:
Arduino: 1.5.6-r2 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
ConfigurationStore.cpp: In function 'void Invalidate_EEPROM_Settings()':
ConfigurationStore.cpp:35: error: 'EEPROM_OFFSET' was not declared in this scope
Edit: I put the snippet for ConfigurationStore.cpp at the end after everything else and it seems to compile. So for now disregard this post.Last edited by RobH2; 08-05-2014 at 08:47 PM.
Bambu P1S/AMS
NVision4D http://nvision4d.com
Holes and pockmarks in print walls
Today, 09:14 AM in General 3D Printing Discussion