Skip to content

Commit 892cf52

Browse files
committed
A more consistent initialization in case modgps_close changes
1 parent 09cbd0a commit 892cf52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ports/gprs_a9/modgps.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@
4343
#include "minmea.h"
4444
#include "time.h"
4545

46+
STATIC mp_obj_t modgps_off(void);
47+
4648
void modgps_init0(void) {
47-
GPS_Close();
49+
modgps_off();
4850
}
4951

5052
// ------

0 commit comments

Comments
 (0)