comparison Discovery/Src/tMenu.c @ 996:8507a87f6401 GasConsumption

Improve buzzer opreation: In the previous version the buzzer was operated in case warning events. In the new version the buzzer is inactive in surface mode in order to prevent annoying warning just because e.g. the sensors are not connected. In addition it is now possible to request a short activation only e.g. in case of the activation of the buzzer via the menu.
author Ideenmodellierer
date Mon, 21 Apr 2025 21:00:34 +0200
parents e9c37071933b
children ac25c35a3c97
comparison
equal deleted inserted replaced
995:768ed327ee69 996:8507a87f6401
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); 867 if( getBuzzerActivationRequest() != REQUEST_BUZZER_ONCE)
868 {
869 requestBuzzerActivation(REQUEST_BUZZER_OFF);
870 }
868 871
869 menu.pageMemoryForNavigation = page; 872 menu.pageMemoryForNavigation = page;
870 /* new test for 3button design */ 873 /* new test for 3button design */
871 if(freshWithFlipPages) 874 if(freshWithFlipPages)
872 { 875 {