Printing mailbox and weather data structure sizes on firmware startup

This commit is contained in:
Th3maz1ng 2025-12-26 12:09:58 +01:00
parent 0ac5bf1e72
commit f8e76536c2

View File

@ -117,6 +117,7 @@ void setup()
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
delay(1000);
Serial.println("\nSetup begin");
Serial.printf("Size of mailbox data packets: %d\nSize of weather data packets: %d\n", sizeof mdp, sizeof wsdp);
//We set the WiFi part up :
gotIp = WiFi.onStationModeGotIP(&(gotIpFunc));
lostConnection = WiFi.onStationModeDisconnected(&(lostConnectionFunc));