This website works better with JavaScript.
Home
Explore
Help
Sign In
GPS
/
gpstracker-firmware
mirror of
https://github.com/blemasle/gpstracker-firmware.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
Cleaned unnecessary code
tags/v1.2.0
Bertrand Lemasle
7 years ago
parent
3fdb6e5907
commit
bf9c9d58ca
3 changed files
with
0 additions
and
24 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-7
GpsTracker/Core.cpp
+0
-15
GpsTracker/Core.h
+0
-2
GpsTracker/GpsTracker.ino
+ 0
- 7
GpsTracker/Core.cpp
View File
@@ -4,11 +4,4 @@
namespace core {
GPS_TRACKER_STATES state;
void setCurrentState(GPS_TRACKER_STATES s) {
state = s;
VERBOSE_FORMAT("setCurrentState", "%d, Free RAM : %d", state debug::freeRam());
}
}
+ 0
- 15
GpsTracker/Core.h
View File
@@ -4,21 +4,6 @@
#include "Debug.h"
enum class GPS_TRACKER_STATES : uint8_t
{
SETUP = 0,
GET_POSITION = 1,
SAVE_POSITION = 2,
SEND_POSITION = 3,
SLEEP = 4
};
namespace core {
extern GPS_TRACKER_STATES state;
void setCurrentState(GPS_TRACKER_STATES s);
}
+ 0
- 2
GpsTracker/GpsTracker.ino
View File
@@ -7,8 +7,6 @@ void setup() {
Log.begin(LOG_LEVEL_VERBOSE, &Serial);
#endif
core::setCurrentState(GPS_TRACKER_STATES::SETUP);
rtc::powerOn();
rtc::setup();
rtc::powerOff();
Write
Preview
Loading…
Cancel
Save