Mercurial > public > ostc4
diff Discovery/Src/t7.c @ 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 | 962d7b2c18c6 |
children | 0ad0b26ec56b |
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)) {