diff 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
line wrap: on
line diff
--- a/Discovery/Src/base.c	Sun Mar 03 19:20:18 2019 +0100
+++ b/Discovery/Src/base.c	Sun Mar 03 21:12:06 2019 +0100
@@ -868,9 +868,12 @@
 				{
 					action = ACTION_BUTTON_NEXT;
 				}
-				if (action == ACTION_BUTTON_NEXT)
+				else
 				{
-					action = ACTION_BUTTON_BACK;
+					if (action == ACTION_BUTTON_NEXT)
+					{
+						action = ACTION_BUTTON_BACK;
+					}
 				}
 			}
 		}