From 0b84beac1a892378ae6b03912a6bd387838aaf2e Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Wed, 25 Sep 2024 20:12:05 +1000 Subject: [PATCH] Format --- source/Core/Drivers/OLED.cpp | 2 +- source/Core/Src/Settings.cpp | 2 +- source/Core/Src/settingsGUI.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/Core/Drivers/OLED.cpp b/source/Core/Drivers/OLED.cpp index 3d4ab11143..adde9d2b3a 100644 --- a/source/Core/Drivers/OLED.cpp +++ b/source/Core/Drivers/OLED.cpp @@ -33,7 +33,7 @@ uint32_t OLED::displayChecksum; * Data packets are prefixed with 0x40 */ I2C_CLASS::I2C_REG OLED_Setup_Array[] = { - /**/ + /**/ {0x80, OLED_OFF, 0}, /* Display off */ {0x80, OLED_DIVIDER, 0}, /* Set display clock divide ratio / osc freq */ {0x80, 0x52, 0}, /* Divide ratios */ diff --git a/source/Core/Src/Settings.cpp b/source/Core/Src/Settings.cpp index 47c4c799c0..b3507c3d10 100644 --- a/source/Core/Src/Settings.cpp +++ b/source/Core/Src/Settings.cpp @@ -54,7 +54,7 @@ typedef struct { } SettingConstants; static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOptionsLength] = { - //{ min, max, increment, default} + //{ min, max, increment, default} { MIN_TEMP_C, MAX_TEMP_F, 5, SOLDERING_TEMP}, // SolderingTemp { MIN_TEMP_C, MAX_TEMP_F, 5, 150}, // SleepTemp { 0, 15, 1, SLEEP_TIME}, // SleepTime diff --git a/source/Core/Src/settingsGUI.cpp b/source/Core/Src/settingsGUI.cpp index 0a4f917303..fac0d10098 100644 --- a/source/Core/Src/settingsGUI.cpp +++ b/source/Core/Src/settingsGUI.cpp @@ -446,11 +446,11 @@ const menuitem advancedMenu[] = { /* clang-format on */ -const menuitem *subSettingsMenus[]{ +const menuitem *subSettingsMenus[] { #if defined(POW_DC) || defined(POW_QC) || defined(POW_PD) - powerMenu, + powerMenu, #endif - solderingMenu, PowerSavingMenu, UIMenu, advancedMenu, + solderingMenu, PowerSavingMenu, UIMenu, advancedMenu, }; /* ^^^ !!!ENABLE CLANG-FORMAT back!!! ^^^ */