mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
Removes useless key scanning in alarm_draw().
This commit is contained in:
parent
9379f4b924
commit
f5cc34084e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user