1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

Indentation in configuration_store.cpp

This commit is contained in:
Scott Lahteine 2016-10-28 18:55:42 -05:00
parent 97115d56f9
commit bff6bbdb12

View File

@ -197,10 +197,10 @@ void Config_Postprocess() {
#define EEPROM_WRITE(VAR) _EEPROM_writeData(eeprom_index, (uint8_t*)&VAR, sizeof(VAR))
#define EEPROM_READ(VAR) _EEPROM_readData(eeprom_index, (uint8_t*)&VAR, sizeof(VAR))
/**
/**
* M500 - Store Configuration
*/
void Config_StoreSettings() {
void Config_StoreSettings() {
float dummy = 0.0f;
char ver[4] = "000";
@ -372,12 +372,12 @@ void Config_StoreSettings() {
SERIAL_ECHO_START;
SERIAL_ECHOPAIR("Settings Stored (", eeprom_size);
SERIAL_ECHOLNPGM(" bytes)");
}
}
/**
/**
* M501 - Retrieve Configuration
*/
void Config_RetrieveSettings() {
void Config_RetrieveSettings() {
EEPROM_START();
@ -563,7 +563,7 @@ void Config_RetrieveSettings() {
#if ENABLED(EEPROM_CHITCHAT)
Config_PrintSettings();
#endif
}
}
#else // !EEPROM_SETTINGS
@ -711,12 +711,12 @@ void Config_ResetDefault() {
#if DISABLED(DISABLE_M503)
#define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START; }while(0)
#define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START; }while(0)
/**
/**
* M503 - Print Configuration
*/
void Config_PrintSettings(bool forReplay) {
void Config_PrintSettings(bool forReplay) {
// Always have this function, even with EEPROM_SETTINGS disabled, the current values will be shown
CONFIG_ECHO_START;
@ -1015,6 +1015,6 @@ void Config_PrintSettings(bool forReplay) {
SERIAL_ECHOPAIR(" M851 Z", zprobe_zoffset);
SERIAL_EOL;
#endif
}
}
#endif // !DISABLE_M503