Removes useless key scanning in alarm_draw().

This commit is contained in:
Travis Goodspeed 2018-04-23 14:40:43 -04:00
parent 9379f4b924
commit f5cc34084e

View File

@ -123,13 +123,6 @@ static char lastchar=0;
//! Draws the alarm time in the main application.
void alarm_draw(){
static char ch=0;
if(ch!=lastchar)
lcd_zero();
ch=lastchar;
/* The SET button will move us into the programming mode. */
if(sidebutton_set()){
settingalarm=!settingalarm;