Skip to content

Commit

Permalink
corrected DISPLAY_ALERTS macro behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarzen committed Jan 12, 2024
1 parent e55a881 commit ebfe399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformio/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void setup()
drawForecast(owm_onecall.daily, timeInfo);
drawLocationDate(CITY_STRING, dateStr);
drawOutlookGraph(owm_onecall.hourly, timeInfo);
#if !DISPLAY_ALERTS
#if DISPLAY_ALERTS
drawAlerts(owm_onecall.alerts, CITY_STRING, dateStr);
#endif
drawStatusBar(statusStr, refreshTimeStr, wifiRSSI, batteryVoltage);
Expand Down

0 comments on commit ebfe399

Please sign in to comment.