Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditCustom.c @ 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 | 1b995079c045 |
children | 10b7d271b9c4 |
comparison
equal
deleted
inserted
replaced
699:01f40cb1057e | 700:c28c09017210 |
---|---|
717 return UPDATE_DIVESETTINGS; | 717 return UPDATE_DIVESETTINGS; |
718 } | 718 } |
719 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) |
720 { | 720 { |
721 SSettings* pSettings = settingsGetPointer(); | 721 SSettings* pSettings = settingsGetPointer(); |
722 if(((pSettings->viewPortMode >> 4) & 0x10) != 0) | 722 if((pSettings->viewPortMode & 0x10) != 0) |
723 { | 723 { |
724 pSettings->viewPortMode &= 0xEF; /* 1110 1111 */ | 724 pSettings->viewPortMode &= 0xEF; /* 1110 1111 */ |
725 } | 725 } |
726 else | 726 else |
727 { | 727 { |