Switched left button and right button
This commit is contained in:
parent
2060cd1233
commit
b6c8bed2a6
1 changed files with 4 additions and 4 deletions
|
@ -673,10 +673,10 @@ bool System_CustomHeartbeat(uint8_t var){
|
|||
//keep it short, executed in ISR
|
||||
void ButtonLeft_Pressed(void){
|
||||
if(system_mode==Choose){
|
||||
Change_selectorpos(true);
|
||||
Change_selectorpos(false);
|
||||
}
|
||||
if(system_mode==Set){
|
||||
Change_time(selector_pos,true);
|
||||
Change_time(selector_pos,false);
|
||||
}
|
||||
};
|
||||
//keep it short, executed in ISR
|
||||
|
@ -705,10 +705,10 @@ void ButtonPress_Pressed(void){
|
|||
//keep it short, executed in ISR
|
||||
void ButtonRight_Pressed(void){
|
||||
if(system_mode==Choose){
|
||||
Change_selectorpos(false);
|
||||
Change_selectorpos(true);
|
||||
}
|
||||
if(system_mode==Set){
|
||||
Change_time(selector_pos,false);
|
||||
Change_time(selector_pos,true);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue