Mercurial > public > ostc4
comparison Discovery/Src/tMenu.c @ 951:e9c37071933b Evo_2_23
Added vibration warning:
The internal buzzer of the GPIO_V2 may now be used as additional warning notificator. It can be activated using the check button in the customer view menu. The vibration will be active while the warning message is displayed in the dive window. In case the diver is in the menu then the warning will be active for a shorter duration.
author | Ideenmodellierer |
---|---|
date | Sun, 29 Dec 2024 18:29:56 +0100 |
parents | af035b883382 |
children |
comparison
equal
deleted
inserted
replaced
950:922ee3d7d2f3 | 951:e9c37071933b |
---|---|
862 | 862 |
863 findValidPosition(&page, &line); | 863 findValidPosition(&page, &line); |
864 if((page == 0) || (line == 0)) | 864 if((page == 0) || (line == 0)) |
865 return; | 865 return; |
866 | 866 |
867 requestBuzzerActivation(0); | |
868 | |
867 menu.pageMemoryForNavigation = page; | 869 menu.pageMemoryForNavigation = page; |
868 /* new test for 3button design */ | 870 /* new test for 3button design */ |
869 if(freshWithFlipPages) | 871 if(freshWithFlipPages) |
870 { | 872 { |
871 menu.lineMemoryForNavigationForPage[page] = 0; | 873 menu.lineMemoryForNavigationForPage[page] = 0; |