From b6c8bed2a6e080329c48b157725c8f7de9d0faf9 Mon Sep 17 00:00:00 2001 From: Charlez Kwan Date: Sat, 15 Aug 2020 14:43:43 +0200 Subject: [PATCH] Switched left button and right button --- Src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Src/main.c b/Src/main.c index c2c4f5b..af5b33c 100644 --- a/Src/main.c +++ b/Src/main.c @@ -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); } };