Mercurial > public > ostc4
changeset 530:c880907fd1d7
Bugfix: No need to consider surface custom view in count of enabled view:
In early motion control versions the detection was also applied in surface mode (as development support). The condition check is no longer needed because motion control is only applied in dive mode.
author | Ideenmodellierer |
---|---|
date | Tue, 15 Sep 2020 20:54:54 +0200 |
parents | 0e1db77b2aca |
children | 1721b26335f1 |
files | Discovery/Src/t7.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/t7.c Tue Sep 15 20:52:39 2020 +0200 +++ b/Discovery/Src/t7.c Tue Sep 15 20:54:54 2020 +0200 @@ -1498,10 +1498,7 @@ uint8_t enabledViewCnt = 0; uint32_t cv_config = settingsGetPointer()->cv_configuration; - if(stateUsed->mode == MODE_DIVE) - pViews = (uint8_t*)customviewsDive; - else - pViews = (uint8_t*)customviewsSurface; + pViews = (uint8_t*)customviewsDive; while((*pViews != CVIEW_END)) {