sforkowany z mirror/meshtastic-firmware
don't require gps to have lock before we'll trust GPS time
rodzic
b47c54b5b6
commit
fc82e872d6
|
@ -6,6 +6,9 @@ bin/run.sh --set region 8
|
|||
time only mode
|
||||
./bin/run.sh --set gps_operation 3
|
||||
|
||||
allow longer locking attempts
|
||||
allow locking while cpu sleeps
|
||||
test with crummy antenna
|
||||
ublox parsing failure
|
||||
|
||||
record power measurements and update spreadsheet
|
||||
|
|
|
@ -62,7 +62,7 @@ lib_deps =
|
|||
1260 ; OneButton library for non-blocking button debounce
|
||||
1202 ; CRC32, explicitly needed because dependency is missing in the ble ota update lib
|
||||
https://github.com/meshtastic/arduino-fsm.git
|
||||
https://github.com/meshtastic/SparkFun_Ublox_Arduino_Library.git#cb8353dfddd1b0e205098f5e70d5f2a5f74b4838
|
||||
https://github.com/meshtastic/SparkFun_Ublox_Arduino_Library.git#31015a55e630a2df77d9d714669c621a5bf355ad
|
||||
https://github.com/meshtastic/RadioLib.git#1083c2e76f9906c5f80dfec726facebf8413eef0
|
||||
https://github.com/meshtastic/TinyGPSPlus.git
|
||||
https://github.com/meshtastic/AXP202X_Library.git#8404abb6d4b486748636bc6ad72d2a47baaf5460
|
||||
|
|
|
@ -138,7 +138,6 @@ void UBloxGPS::whileActive()
|
|||
*/
|
||||
bool UBloxGPS::lookForTime()
|
||||
{
|
||||
if (fixType >= 2) {
|
||||
if (ublox.moduleQueried.gpsSecond) {
|
||||
/* Convert to unix time
|
||||
The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January
|
||||
|
@ -155,7 +154,6 @@ bool UBloxGPS::lookForTime()
|
|||
perhapsSetRTC(t);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue