comparison 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
comparison
equal deleted inserted replaced
661:87bee7cc77b3 662:1b995079c045
167 #ifdef ENABLE_BOTTLE_SENSOR 167 #ifdef ENABLE_BOTTLE_SENSOR
168 case LCC_BottleBar: 168 case LCC_BottleBar:
169 text[4] = TXT_AtemGasVorrat; 169 text[4] = TXT_AtemGasVorrat;
170 break; 170 break;
171 #endif 171 #endif
172
173 #ifdef ENABLE_PSCR_MODE
174 case LCC_SimPpo2:
175 text[4] = TXT_SimPpo2;
176 break;
177 #endif
172 /* none */ 178 /* none */
173 case LLC_Empty: 179 case LLC_Empty:
174 text[4] = '-'; 180 text[4] = '-';
175 break; 181 break;
176 default: 182 default:
711 return UPDATE_DIVESETTINGS; 717 return UPDATE_DIVESETTINGS;
712 } 718 }
713 uint8_t OnAction_CViewPortLayout(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 719 uint8_t OnAction_CViewPortLayout(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
714 { 720 {
715 SSettings* pSettings = settingsGetPointer(); 721 SSettings* pSettings = settingsGetPointer();
716 if((pSettings->viewPortMode >> 4) & 0x10 != 0) 722 if(((pSettings->viewPortMode >> 4) & 0x10) != 0)
717 { 723 {
718 pSettings->viewPortMode &= 0xEF; /* 1110 1111 */ 724 pSettings->viewPortMode &= 0xEF; /* 1110 1111 */
719 } 725 }
720 else 726 else
721 { 727 {