Printing mailbox and weather data structure sizes on firmware startup
This commit is contained in:
parent
0ac5bf1e72
commit
f8e76536c2
@ -117,6 +117,7 @@ void setup()
|
|||||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
Serial.println("\nSetup begin");
|
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 :
|
//We set the WiFi part up :
|
||||||
gotIp = WiFi.onStationModeGotIP(&(gotIpFunc));
|
gotIp = WiFi.onStationModeGotIP(&(gotIpFunc));
|
||||||
lostConnection = WiFi.onStationModeDisconnected(&(lostConnectionFunc));
|
lostConnection = WiFi.onStationModeDisconnected(&(lostConnectionFunc));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user