Add muted icon to show when buzzer is muted

This commit is contained in:
Leah
2026-02-11 09:51:28 +01:00
parent e33d93dc7f
commit fb025fb67e
3 changed files with 20 additions and 0 deletions

View File

@@ -78,6 +78,14 @@ public:
bool hasDisplay() const { return _display != NULL; }
bool isButtonPressed() const;
bool isBuzzerQuiet() {
#ifdef PIN_BUZZER
return buzzer.isQuiet();
#else
return true;
#endif
}
void toggleBuzzer();
bool getGPSState();
void toggleGPS();