Mercurial > public > ostc4
diff Discovery/Src/t6_apnea.c @ 387:0dbb74be972f
Merged in Ideenmodellierer/ostc4/MotionDetection (pull request #34)
MotionDetection
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Sun, 24 Nov 2019 15:46:58 +0000 |
parents | 39c147e47c1c |
children | 65c7b009136f |
line wrap: on
line diff
--- a/Discovery/Src/t6_apnea.c Sun Nov 24 16:08:29 2019 +0100 +++ b/Discovery/Src/t6_apnea.c Sun Nov 24 15:46:58 2019 +0000 @@ -301,9 +301,9 @@ -void t6_change_customview(void) +void t6_change_customview(uint8_t action) { - t3_basics_change_customview(&t6_selection_customview, t6_customviews); + t3_basics_change_customview(&t6_selection_customview, t6_customviews, action); } @@ -311,9 +311,6 @@ { uint8_t customViewLeftSide = CVIEW_T3_MaxDepth; - if((t6_selection_customview == CVIEW_sensors) &&(stateUsed->diveSettings.ccrOption == 0)) - t6_change_customview(); - if(t6_getCustomView() == CVIEW_T3_ApnoeSurfaceInfo) customViewLeftSide = CVIEW_T3_ApnoeSurfaceInfo;