Skip to content

Commit 5ab94da

Browse files
authored
Remove duplicated MAX_FORECASTS (#117)
MAX_FORECASTS exists in both settings.h and esp8266-weather-station-color.ino. In settings.h, it is unused and its value 10 is wrong (should be 12 since 12 forecasts are to be displayed).
1 parent 0119e49 commit 5ab94da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

settings.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Slovenian -> sl, Spanish -> es, Turkish -> tr, Ukrainian -> ua, Vietnamese -> vi
5050
Chinese Simplified -> zh_cn, Chinese Traditional -> zh_tw.
5151
*/
5252
String OPEN_WEATHER_MAP_LANGUAGE = "en";
53-
const uint8_t MAX_FORECASTS = 10;
5453

5554
// Adjust according to your language
5655
const String WDAY_NAMES[] = {"SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"};

0 commit comments

Comments
 (0)