Skip to content

Commit c250544

Browse files
committed
Fixed prototype signatures
1 parent 85fe129 commit c250544

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/WeatherStationDemo/WeatherStationDemo.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ WundergroundClient wunderground(IS_METRIC);
8181
ThingspeakClient thingspeak;
8282

8383
// declaring prototypes
84-
void drawFrame1(int x, int y);
85-
void drawFrame2(int x, int y);
86-
void drawFrame3(int x, int y);
87-
void drawFrame4(int x, int y);
88-
void drawFrame5(int x, int y);
84+
bool drawFrame1(SSD1306 *display, SSD1306UiState* state, int x, int y);
85+
bool drawFrame2(SSD1306 *display, SSD1306UiState* state, int x, int y);
86+
bool drawFrame3(SSD1306 *display, SSD1306UiState* state, int x, int y);
87+
bool drawFrame4(SSD1306 *display, SSD1306UiState* state, int x, int y);
88+
bool drawFrame5(SSD1306 *display, SSD1306UiState* state, int x, int y);
8989
void setReadyForWeatherUpdate();
90-
void drawForecast(int x, int y, int dayIndex);
90+
void drawForecast(SSD1306 *display, int x, int y, int dayIndex);
9191

9292
// this array keeps function pointers to all frames
9393
// frames are the single views that slide from right to left

0 commit comments

Comments
 (0)