Pārlūkot izejas kodu

Added detected velocity and sleep timing when setting false gps coordinate

tags/v1.2.0
Bertrand Lemasle pirms 7 gadiem
vecāks
revīzija
27c290dd5b
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      GpsTracker/Debug.cpp

+ 2
- 0
GpsTracker/Debug.cpp Parādīt failu

@@ -173,6 +173,8 @@ namespace debug {
strlcpy_P(gps::lastPosition, FAKE_GPS_ENTRY, GPS_POSITION_SIZE);

NOTICE_FORMAT("setFakeGpsPosition", "Last position set to : %s", gps::lastPosition);
NOTICE_FORMAT("setFakeGpsPosition", "Speed : %d", gps::getVelocity());
NOTICE_FORMAT("setFakeGpsPosition", "Sleep time : %d", core::computeSleepTime(gps::getVelocity()));
}

void getAndDisplayBattery() {


Notiek ielāde…
Atcelt
Saglabāt