mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 02:36:19 +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
|
// Extensible UI User Data
|
||||||
//
|
//
|
||||||
#if ENABLED(EXTENSIBLE_UI)
|
#if ENABLED(EXTENSIBLE_UI)
|
||||||
{
|
{
|
||||||
char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||||
ExtUI::onStoreSettings(extui_data);
|
ExtUI::onStoreSettings(extui_data);
|
||||||
_FIELD_TEST(extui_data);
|
_FIELD_TEST(extui_data);
|
||||||
EEPROM_WRITE(extui_data);
|
EEPROM_WRITE(extui_data);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -2200,13 +2200,12 @@ void MarlinSettings::postprocess() {
|
||||||
// Extensible UI User Data
|
// Extensible UI User Data
|
||||||
//
|
//
|
||||||
#if ENABLED(EXTENSIBLE_UI)
|
#if ENABLED(EXTENSIBLE_UI)
|
||||||
// This is a significant hardware change; don't reserve EEPROM space when not present
|
{ // This is a significant hardware change; don't reserve EEPROM space when not present
|
||||||
{
|
const char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
||||||
const char extui_data[ExtUI::eeprom_data_size] = { 0 };
|
_FIELD_TEST(extui_data);
|
||||||
_FIELD_TEST(extui_data);
|
EEPROM_READ(extui_data);
|
||||||
EEPROM_READ(extui_data);
|
if (!validating) ExtUI::onLoadSettings(extui_data);
|
||||||
if (!validating) ExtUI::onLoadSettings(extui_data);
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue