Skip to content

Commit db0c79e

Browse files
committed
Remove unused imports and declare lat, long and timestamp static
1 parent 275315f commit db0c79e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/gps_tracker/gps_tracker.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include <low_power.h>
1212
#include <lte.h>
1313
#include <mcp9808.h>
14-
#include <mqtt_client.h>
15-
#include <sequans_controller.h>
1614
#include <veml3328.h>
1715

1816
#define GPSSerial Serial2
@@ -34,9 +32,9 @@ Adafruit_GPS GPS(&GPSSerial);
3432
* such that the float values for latitude and longitude are properly
3533
* converted before being sent to the server.
3634
*/
37-
char latitude[16] = "0";
38-
char longitude[16] = "0";
39-
char time[24] = "0";
35+
static char latitude[16] = "0";
36+
static char longitude[16] = "0";
37+
static char time[24] = "0";
4038

4139
/**
4240
* @brief Keeps track of the state.

0 commit comments

Comments
 (0)