Mercurial > public > ostc4
changeset 700:c28c09017210
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.
author | Ideenmodellierer |
---|---|
date | Tue, 18 Oct 2022 21:21:32 +0200 |
parents | 01f40cb1057e |
children | 8c48553a0176 |
files | Discovery/Src/tMenuEditCustom.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */ }