Merge pull request #314 from seagull9000/RTTTL-tweaks1

RTTTL on message types
This commit is contained in:
ripplebiz 2025-05-20 17:44:19 +10:00 committed by GitHub
commit ecfeb2ff63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 32 additions and 10 deletions

View file

@ -520,7 +520,7 @@ protected:
}
} else {
#ifdef DISPLAY_CLASS
ui_task.soundBuzzer();
ui_task.soundBuzzer(UIEventType::newContactMessage);
#endif
}
@ -583,7 +583,7 @@ protected:
_serial->writeFrame(frame, 1);
} else {
#ifdef DISPLAY_CLASS
ui_task.soundBuzzer();
ui_task.soundBuzzer(UIEventType::contactMessage);
#endif
}
#ifdef DISPLAY_CLASS
@ -636,7 +636,7 @@ protected:
_serial->writeFrame(frame, 1);
} else {
#ifdef DISPLAY_CLASS
ui_task.soundBuzzer();
ui_task.soundBuzzer(UIEventType::channelMessage);
#endif
}
#ifdef DISPLAY_CLASS