소스 검색

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;
}


불러오는 중...
취소
저장