Add SD Firmware Update capability (#12043)

Co-Authored-By: timoxd7 <timoxd7@users.noreply.github.com>
This commit is contained in:
Scott Lahteine
2018-10-09 20:00:47 -05:00
committed by GitHub
parent 0bd54392b7
commit cf5284cdf2
64 changed files with 974 additions and 2 deletions

View File

@@ -61,6 +61,11 @@ class MarlinSettings {
#endif
}
#if ENABLED(SD_FIRMWARE_UPDATE)
static bool sd_update_status(); // True if the SD-Firmware-Update EEPROM flag is set
static bool set_sd_update_status(const bool enable); // Return 'true' after EEPROM is set (-> always true)
#endif
#if ENABLED(EEPROM_SETTINGS)
static bool load(PORTINIT_SOLO); // Return 'true' if data was loaded ok
static bool validate(PORTINIT_SOLO); // Return 'true' if EEPROM data is ok