mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-02 11:55:56 +00:00
just tiny tweak to minimise changes
This commit is contained in:
parent
8a3322fbcb
commit
0632b96fcb
@ -84,7 +84,10 @@ int32_t ExternalNotificationModule::runOnce()
|
|||||||
if (!moduleConfig.external_notification.enabled) {
|
if (!moduleConfig.external_notification.enabled) {
|
||||||
return INT32_MAX; // we don't need this thread here...
|
return INT32_MAX; // we don't need this thread here...
|
||||||
} else {
|
} else {
|
||||||
bool isPlaying = rtttl::isPlaying();
|
|
||||||
|
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.
|
||||||
#ifdef HAS_I2S
|
#ifdef HAS_I2S
|
||||||
isPlaying = rtttl::isPlaying() || audioThread->isPlaying();
|
isPlaying = rtttl::isPlaying() || audioThread->isPlaying();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user