changeset 158:a16ce69f8a86 FlipDisplay

Bugfix button translation
author Ideenmodellierer
date Sun, 03 Mar 2019 21:12:06 +0100
parents 018586760ca7
children 524d15e99cdd
files Discovery/Src/base.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
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;
+					}
 				}
 			}
 		}