Skip to content

Commit

Permalink
more c formatting fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
rgorosito committed May 25, 2021
1 parent 986c1b4 commit ab78b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_MQTT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ void Adafruit_MQTT::processPackets(int16_t timeout) {
Adafruit_MQTT_Subscribe *Adafruit_MQTT::readSubscription(int16_t timeout) {

// Sync or Async subscriber with message
Adafruit_MQTT_Subscribe *s=0;
Adafruit_MQTT_Subscribe *s = 0;

// Check if are unread messages
for (uint8_t i = 0; i < MAXSUBSCRIPTIONS; i++) {
Expand All @@ -524,7 +524,7 @@ Adafruit_MQTT_Subscribe *Adafruit_MQTT::readSubscription(int16_t timeout) {
if (!s) {
// Check if data is available to read.
uint16_t len = readFullPacket(buffer, MAXBUFFERSIZE,
timeout); // return one full packet
timeout); // return one full packet
s = handleSubscriptionPacket(len);
}

Expand Down

0 comments on commit ab78b29

Please sign in to comment.