# HG changeset patch # User Ideenmodellierer # Date 1666120892 -7200 # Node ID c28c090172100c409726fb521f19cdeac361c49b # Parent 01f40cb1057ed40fd7e36fe1c8a80cd95fe6c06f Bugfix motioncontrol frame deactivation: In the previous version the frame indication the focus state could not be deactivated once it was activated. Rootcause was a fault in the bit operation of the configuration byte which has been fixed now. diff -r 01f40cb1057e -r c28c09017210 Discovery/Src/tMenuEditCustom.c --- a/Discovery/Src/tMenuEditCustom.c Tue Oct 18 20:56:19 2022 +0200 +++ b/Discovery/Src/tMenuEditCustom.c Tue Oct 18 21:21:32 2022 +0200 @@ -719,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 & 0x10) != 0) { pSettings->viewPortMode &= 0xEF; /* 1110 1111 */ }