Skip to content

Commit

Permalink
AsyncMqttClient: PROGMEM
Browse files Browse the repository at this point in the history
  • Loading branch information
willmmiles committed Feb 17, 2024
1 parent c8d521d commit 2726b86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ AsyncMqttClient::AsyncMqttClient()
sprintf(_generatedClientId, "esp32%06x", (uint32_t)ESP.getEfuseMac());
_xSemaphore = xSemaphoreCreateMutex();
#elif defined(ESP8266)
sprintf(_generatedClientId, "esp8266%06x", (uint32_t)ESP.getChipId());
sprintf_P(_generatedClientId, PSTR("esp8266%06x"), (uint32_t)ESP.getChipId());
#endif
_clientId = _generatedClientId;

Expand Down

0 comments on commit 2726b86

Please sign in to comment.