Преглед на файлове

Fixed positions count from index, used to determine if backup is needed

tags/v1.2.0
Bertrand Lemasle преди 7 години
родител
ревизия
ebfc1698b3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      GpsTracker/Positions.cpp

+ 1
- 1
GpsTracker/Positions.cpp Целия файл

@@ -141,7 +141,7 @@ namespace positions {
config_t *config = &config::main::value;
uint16_t lastEntry = config->lastEntry;

if (lastEntry < config->firstEntry) { lastEntry += details::maxEntryIndex; }
if (lastEntry < fromIndex) { lastEntry += details::maxEntryIndex; }

return lastEntry - fromIndex;
}


Зареждане…
Отказ
Запис