Teste Flash

Dependencies:   pulga-lorawan-drv Si1133 BME280

Revision:
68:fc357095c8ef
Parent:
67:17addc7bf8c2
Child:
69:2d56b571c78e
--- a/serial_cmds.cpp	Fri Mar 12 13:33:06 2021 +0000
+++ b/serial_cmds.cpp	Fri Mar 26 13:43:43 2021 +0000
@@ -14,6 +14,7 @@
         //gps_get_lat_lon(&local_lat, &local_log);
         //get_latitude
         //pc.printf("<g%d,%d\n>", get_latitude(), get_longitude());
+        gps_data = get_struct();
         pc.printf("<g%d,%d\n>", (int)gps_data.lat, (int)gps_data.lon);
         
         pc.printf("<t%d/%d/%d-%d:%d:%d\n>", (int)gps_data.year, (int)gps_data.month,(int)gps_data.day, (int)gps_data.hour, (int)gps_data.min, (int)gps_data.sec);