mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 10:12:50 +00:00
Fix EVENT_MODE on mqttless targets (#6750)
This commit is contained in:
@@ -345,7 +345,7 @@ void Channels::setChannel(const meshtastic_Channel &c)
|
|||||||
|
|
||||||
bool Channels::anyMqttEnabled()
|
bool Channels::anyMqttEnabled()
|
||||||
{
|
{
|
||||||
#if USERPREFS_EVENT_MODE
|
#if USERPREFS_EVENT_MODE && !MESHTASTIC_EXCLUDE_MQTT
|
||||||
// Don't publish messages on the public MQTT broker if we are in event mode
|
// Don't publish messages on the public MQTT broker if we are in event mode
|
||||||
if (mqtt && mqtt->isUsingDefaultServer()) {
|
if (mqtt && mqtt->isUsingDefaultServer()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user