mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 23:49:49 +00:00
🎨 Adjust settings.cpp indent
This commit is contained in:
parent
a90c8b762c
commit
ab96ada2e2
1 changed files with 12 additions and 13 deletions
|
@ -1331,12 +1331,12 @@ void MarlinSettings::postprocess() {
|
|||
// Extensible UI User Data
|
||||
//
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
{
|
||||
char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||
ExtUI::onStoreSettings(extui_data);
|
||||
_FIELD_TEST(extui_data);
|
||||
EEPROM_WRITE(extui_data);
|
||||
}
|
||||
{
|
||||
char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||
ExtUI::onStoreSettings(extui_data);
|
||||
_FIELD_TEST(extui_data);
|
||||
EEPROM_WRITE(extui_data);
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -2200,13 +2200,12 @@ void MarlinSettings::postprocess() {
|
|||
// Extensible UI User Data
|
||||
//
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
// This is a significant hardware change; don't reserve EEPROM space when not present
|
||||
{
|
||||
const char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||
_FIELD_TEST(extui_data);
|
||||
EEPROM_READ(extui_data);
|
||||
if (!validating) ExtUI::onLoadSettings(extui_data);
|
||||
}
|
||||
{ // This is a significant hardware change; don't reserve EEPROM space when not present
|
||||
const char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||
_FIELD_TEST(extui_data);
|
||||
EEPROM_READ(extui_data);
|
||||
if (!validating) ExtUI::onLoadSettings(extui_data);
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue