Change define to avoid collision
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user