contain lorawan with serial_rx enabled
Dependencies: pulga-lorawan-drv SPI_MX25R Si1133 BME280
Diff: serial_cmds.cpp
- Revision:
- 63:4ec1808fb547
- Parent:
- 62:89df9529dbb0
- Child:
- 64:ed68ddac6360
--- a/serial_cmds.cpp Fri Feb 26 17:07:12 2021 +0000 +++ b/serial_cmds.cpp Fri Feb 26 18:11:06 2021 +0000 @@ -8,9 +8,10 @@ { case CMD_PRINT_LAST_GPS: - int local_lat, local_log - gps_get_lat_lon(&local_lat, &local_log) - pc.printf("<g%d,%d\n>", local_lat, local_log); + int local_lat, local_log; + //gps_get_lat_lon(&local_lat, &local_log); + //get_latitude + pc.printf("<g%d,%d\n>", get_latitude(), get_longitude()); break;