trybuildfix mqtt system

This commit is contained in:
Thomas Göttgens
2023-01-03 22:09:35 +01:00
parent 42b24d4510
commit 5867038abf
2 changed files with 3 additions and 9 deletions

View File

@@ -274,9 +274,9 @@ void MQTT::onSend(const MeshPacket &mp, ChannelIndex chIndex)
const char *channelId = channels.getGlobalId(chIndex); // FIXME, for now we just use the human name for the channel
ServiceEnvelope env = ServiceEnvelope_init_default;
env->channel_id = (char *)channelId;
env->gateway_id = owner.id;
env->packet = (MeshPacket *)∓
env.channel_id = (char *)channelId;
env.gateway_id = owner.id;
env.packet = (MeshPacket *)∓
// don't bother sending if not connected...
if (pubSub.connected()) {