comparison Discovery/Src/base.c @ 158:a16ce69f8a86 FlipDisplay

Bugfix button translation
author Ideenmodellierer
date Sun, 03 Mar 2019 21:12:06 +0100
parents bc7795161549
children 0bb6a8e7be9d
comparison
equal deleted inserted replaced
157:018586760ca7 158:a16ce69f8a86
866 { 866 {
867 if (action == ACTION_BUTTON_BACK) 867 if (action == ACTION_BUTTON_BACK)
868 { 868 {
869 action = ACTION_BUTTON_NEXT; 869 action = ACTION_BUTTON_NEXT;
870 } 870 }
871 if (action == ACTION_BUTTON_NEXT) 871 else
872 { 872 {
873 action = ACTION_BUTTON_BACK; 873 if (action == ACTION_BUTTON_NEXT)
874 {
875 action = ACTION_BUTTON_BACK;
876 }
874 } 877 }
875 } 878 }
876 } 879 }
877 880
878 #ifdef BUTTON_CUSTOM_PIN 881 #ifdef BUTTON_CUSTOM_PIN