General fixes and improvements to code

This commit is contained in:
leptun 2019-10-31 19:07:20 +02:00
parent 1e09f8c003
commit cd5ff783cf
5 changed files with 43 additions and 50 deletions
Firmware

View file

@ -64,7 +64,7 @@ Sound_SaveMode();
//if critical is true then silend and once mode is ignored
void Sound_MakeCustom(uint16_t ms,uint16_t tone_,bool critical){
backlight_wake(1);
backlight_wake();
if (!critical){
if (eSoundMode != e_SOUND_MODE_SILENT){
if(!tone_){