diff Discovery/Src/tMenuEditCustom.c @ 662:1b995079c045 Betatest

PSCR Mode
author heinrichs weikamp
date Tue, 14 Dec 2021 15:36:10 +0100
parents 3ccf13af4651
children c28c09017210
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditCustom.c	Mon Nov 01 12:39:34 2021 +0100
+++ b/Discovery/Src/tMenuEditCustom.c	Tue Dec 14 15:36:10 2021 +0100
@@ -169,6 +169,12 @@
     	text[4] = TXT_AtemGasVorrat;
     	    	break;
 #endif
+
+#ifdef ENABLE_PSCR_MODE
+    case LCC_SimPpo2:
+    	text[4] = TXT_SimPpo2;
+    	    	break;
+#endif
     /* none */
     case LLC_Empty:
         text[4] = '-';
@@ -713,7 +719,7 @@
 uint8_t OnAction_CViewPortLayout(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
 {
 	SSettings* pSettings = settingsGetPointer();
-	if((pSettings->viewPortMode >> 4) & 0x10 != 0)
+	if(((pSettings->viewPortMode >> 4) & 0x10) != 0)
 	{
 		pSettings->viewPortMode &= 0xEF;	/* 1110 1111 */
 	}