Change define to avoid collision

This commit is contained in:
Jonathan Bennett
2026-06-23 16:45:21 -05:00
parent 7dbf7ed32d
commit 7de19ae1fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1304,7 +1304,7 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta
UIRenderer::drawStringWithEmotes(display, nameX, getTextPositions(display)[line++], shortName, FONT_HEIGHT_SMALL, 1,
false);
}
#ifdef STEP_COUNTER
#ifdef SHOW_STEP_COUNTER
std::string stepsLine = "Steps: " + std::to_string(screen->steps);
textWidth = UIRenderer::measureStringWithEmotes(display, stepsLine.c_str());
nameX = (SCREEN_WIDTH - textWidth) / 2;
+1 -1
View File
@@ -55,7 +55,7 @@
#define HAS_BHI260AP
#define BHI260AP_INT 8
#undef MESHTASTIC_EXCLUDE_ACCELEROMETER
#define STEP_COUNTER
#define SHOW_STEP_COUNTER
#define I2C_SDA 3
#define I2C_SCL 2