mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-15 09:49:54 +00:00
refactor gps manager
This commit is contained in:
@@ -511,6 +511,8 @@ int main(void)
|
||||
if (gps_is_available()) {
|
||||
gps_set_fix_callback(gps_fix_callback);
|
||||
gps_set_event_callback(gps_event_callback);
|
||||
/* Apply persisted GPS duty interval (repeater default 48h; 0 = always on) */
|
||||
gps_set_poll_interval_sec(repeater_mesh.getNodePrefs()->gps_interval);
|
||||
gps_set_repeater_mode(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user