# HG changeset patch # User Ideenmodellierer # Date 1600196094 -7200 # Node ID c880907fd1d7fb426da37199f4b97235fab2c3e0 # Parent 0e1db77b2acaa5866e621c87c21475df931b7967 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. diff -r 0e1db77b2aca -r c880907fd1d7 Discovery/Src/t7.c --- 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)) {