[gps] call gps_periodic_check from module

This commit is contained in:
Felix Ruess
2016-05-18 15:23:59 +02:00
parent 2374f82a98
commit 6cc4d590f5
18 changed files with 19 additions and 22 deletions
+1 -2
View File
@@ -13,9 +13,8 @@
<header>
<file name="gps.h" dir="subsystems"/>
</header>
<!-- uncomment these when not called explicitly from main anymore -->
<init fun="gps_ubx_init()"/>
<!--periodic fun="gps_periodic_check()" freq="1." autorun="TRUE"/-->
<periodic fun="gps_periodic_check(&gps_ubx.state)" freq="1." autorun="TRUE"/>
<event fun="gps_ubx_event()"/>
<makefile target="ap">
<configure name="UBX_GPS_PORT" default="$(GPS_PORT)" case="upper|lower"/>