Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
fixed warnning for Arduino 1.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
vitotai committed Jun 30, 2016
1 parent 77ad3b6 commit e9986f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ void uiDisplayTemperatureAndRunningTime(void)
{
// counting down
count=_countingTimeRef - gCurrentTimeInSec;
if(count > 24*60*60*1000)
if(count > 86400000L)
{
count =0;
_countingTimeDirection = COUNTING_PAUSE;
Expand Down Expand Up @@ -967,4 +967,4 @@ void uiAutoModeFinishScreen(void)
uiShowTextAtRow_P(1,STR(Brewing_Process),CenterAligned,0);
uiShowTextAtRow_P(2,STR(Finished),CenterAligned,0);
}
#endif
#endif
5 changes: 3 additions & 2 deletions wi.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
#define MAX_RETRY 5


#define DEBUG_WIFI true

#if SerialDebug != true
#define DEBUG_WIFI false
#else
#define DEBUG_WIFI true
#endif

#if DEBUG_WIFI == true
Expand Down Expand Up @@ -863,4 +864,4 @@ void wiThread()
}


#endif
#endif

0 comments on commit e9986f4

Please sign in to comment.