diff --git a/src/app/app.ino b/src/app/app.ino index 21e03be..dd56d52 100644 --- a/src/app/app.ino +++ b/src/app/app.ino @@ -1,3 +1,10 @@ +/** + * Author : Anatole SCHRAMM-HENRY + * Created the : 30/05/2021 + * This is the source file containing the main app. + * It defines all the logic which make the weather station work. + */ + #include "definition.h" #include "BoardConfig.h" #include "WSPeripherals.h" @@ -7,7 +14,7 @@ BoardConfig defaultBC; WSPeripherals WSP(defaultBC); uint8_t sleepSlots(0), rCode(0); -DataPacket payload; +WeatherStationDataPacket payload; void setup() { @@ -87,7 +94,7 @@ void loop() sleepSlots++; } -void debugStruct(DataPacket *p) +void debugStruct(WeatherStationDataPacket *p) { Serial.println("##############DATA##############"); Serial.print("ID : ");