Skip to content

Commit

Permalink
🎨 Adjust settings.cpp indent
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 9, 2021
1 parent e3b05dd commit ffde284
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

//
Expand Down Expand Up @@ -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

//
Expand Down

0 comments on commit ffde284

Please sign in to comment.