Skip to content

Commit

Permalink
Fix compile minor waring (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmicro authored Jan 14, 2025
2 parents 16fd71f + 3433a76 commit 3149d9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/tools/OswAppTutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ void OswAppTutorial::onDraw() {
hal->gfx()->setTextCursor(DISP_W / 2, 120);
hal->gfx()->print(LANG_TUT_SCR3_TEXT);

#if defined(GPS_EDITION) || defined(GPS_EDITION_ROTATED) || defined(OSW_FEATURE_WIFI)
short y = 160;
#endif
bool anyProblems = false;
#ifdef OSW_FEATURE_WIFI
hal->gfx()->setTextCursor(DISP_W / 2, y);
Expand Down

0 comments on commit 3149d9a

Please sign in to comment.