yet another random edit, think i'm brushing the touchpad or perhaps my computer is possessed by the devil determined to make me look foolish

pull/3647/head
Gareth Coleman 2024-04-16 22:37:57 +01:00
rodzic 86223d8806
commit afb4de21d9
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -84,10 +84,7 @@ int32_t ExternalNotificationModule::runOnce()
if (!moduleConfig.external_notification.enabled) {
return INT32_MAX; // we don't need this thread here...
} else {
bool isPlaying = rtttl::isPlaying();This PR just tidies up support for the unPhone by using its [library](https://gitlab.com/hamishcunningham/unphonelibrary)
Also fixes incomplete syntax for the touchscreen driver invocation for XPT2046 when attached to a HX8357.
bool isPlaying = rtttl::isPlaying();
#ifdef HAS_I2S
isPlaying = rtttl::isPlaying() || audioThread->isPlaying();
#endif
@ -554,4 +551,4 @@ void ExternalNotificationModule::handleSetRingtone(const char *from_msg)
if (changed) {
nodeDB->saveProto(rtttlConfigFile, meshtastic_RTTTLConfig_size, &meshtastic_RTTTLConfig_msg, &rtttlConfig);
}
}
}