이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
GPS
/
gpstracker-firmware
의 미러
https://github.com/blemasle/gpstracker-firmware.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
8
위키
활동
소스 검색
Removed useless calls to rtc::powerOn && rtc::powerOff
tags/v1.2.0
Bertrand Lemasle
7 년 전
부모
455276fdc8
커밋
6e0060c432
2개의 변경된 파일
과
0개의 추가작업
그리고
4개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
GpsTracker/Core.cpp
+0
-2
GpsTracker/MainUnit.cpp
+ 0
- 2
GpsTracker/Core.cpp
파일 보기
@@ -16,9 +16,7 @@ namespace core {
if (gpsStatus > SIM808_GPS_STATUS::NO_FIX) {
tmElements_t time;
gps::getTime(time);
rtc::powerOn();
rtc::setTime(time);
rtc::powerOff();
positions::appendLast(battery, gpsStatus);
+ 0
- 2
GpsTracker/MainUnit.cpp
파일 보기
@@ -12,9 +12,7 @@ namespace mainunit {
}
void interruptIn(uint16_t seconds) {
rtc::powerOn();
rtc::setAlarm(seconds);
rtc::powerOff();
pinMode(RTC_WAKE, INPUT);
attachInterrupt(digitalPinToInterrupt(RTC_WAKE), interrupt, FALLING);
쓰기
미리보기
불러오는 중...
취소
저장