Skip to content

Commit

Permalink
Merge branch 'master' into 2296-rak11300-target
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored Mar 6, 2023
2 parents bb32796 + 5044169 commit eb9a927
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion boards/tlora-t3s3-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_USB_MODE=0",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
"-DARDUINO_EVENT_RUNNING_CORE=1",
"-DBOARD_HAS_PSRAM"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
Expand Down
2 changes: 1 addition & 1 deletion src/mesh/RadioInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void printPacket(const char *prefix, const meshtastic_MeshPacket *p)
if (p->priority != 0)
out += DEBUG_PORT.mt_sprintf(" priority=%d", p->priority);

out + ")\n";
out += ")\n";
LOG_DEBUG("%s", out.c_str());
}

Expand Down
8 changes: 5 additions & 3 deletions src/mqtt/MQTT.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ class MQTT : private concurrency::OSThread
#if HAS_ETHERNET
EthernetClient mqttClient;
#endif
#if !defined(DEBUG_HEAP_MQTT)
PubSubClient pubSub;

// instead we supress sleep from our runOnce() callback
// CallbackObserver<MQTT, void *> preflightSleepObserver = CallbackObserver<MQTT, void *>(this, &MQTT::preflightSleepCb);

public:
#else
public:
PubSubClient pubSub;
#endif
MQTT();

/**
Expand Down

0 comments on commit eb9a927

Please sign in to comment.