1
0
forked from me/IronOS

Style cleanup

This commit is contained in:
Ben V. Brown
2023-07-21 20:45:29 +10:00
parent 886c956c3c
commit 33e1a7756f
6 changed files with 21 additions and 16 deletions

View File

@@ -76,8 +76,9 @@ OperatingMode showDebugMenu(const ButtonState buttons, guiContext *cxt) {
case 16: // Raw Hall Effect Value
{
int16_t hallEffectStrength = getRawHallEffect();
if (hallEffectStrength < 0)
if (hallEffectStrength < 0) {
hallEffectStrength = -hallEffectStrength;
}
OLED::printNumber(hallEffectStrength, 6, FontStyle::SMALL);
} break;
#endif