소스 검색

debug::notifyFailures now calls alerts::add

tags/v1.2.0
Bertrand Lemasle 6 년 전
부모
커밋
32e05881ea
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      GpsTracker/Debug.cpp

+ 3
- 2
GpsTracker/Debug.cpp 파일 보기

@@ -271,7 +271,7 @@ namespace debug {

void notifyFailures() {
PositionEntryMetadata metadata = {
1, //all battery alert should goes on with this
1, //all battery alerts should goes on with this
3800, //doesn't matter
ALERT_SUSPICIOUS_RTC_TEMPERATURE,
0,
@@ -280,11 +280,12 @@ namespace debug {

uint8_t alerts = core::notifyFailures(metadata);
NOTICE_FORMAT("notifyFailures", "result : %B", alerts);
alerts::add(alerts);
}

void clearAlerts() {
PositionEntryMetadata metadata = {
100, //all battery alert should goes off with this
100, //all battery alerts should goes off with this
3800, //doesn't matter
10,
0,


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