mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[gps_i2c] changed name to gps_ubx_i2c
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="gps_i2c" dir="gps">
|
||||
<module name="gps_ubx_i2c" dir="gps">
|
||||
<doc>
|
||||
<description>
|
||||
U-blox GPS (I2C)
|
||||
@@ -9,7 +9,7 @@
|
||||
</doc>
|
||||
|
||||
<header>
|
||||
<file name="gps_i2c.h"/>
|
||||
<file name="gps_ubx_i2c.h"/>
|
||||
</header>
|
||||
<init fun="gps_ubx_i2c_init()"/>
|
||||
<periodic fun="gps_ubx_i2c_periodic()" freq="10."/>
|
||||
@@ -21,7 +21,7 @@
|
||||
<define name="GPS_UBX_I2C_DEV" value="$(GPS_UBX_I2C_DEV_LOWER)"/>
|
||||
<define name="GPS_I2C"/>
|
||||
<define name="I2C_BUF_LEN" value="255"/>
|
||||
<file name="gps_i2c.c"/>
|
||||
<file name="gps_ubx_i2c.c"/>
|
||||
</makefile>
|
||||
|
||||
</module>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "mcu_periph/i2c.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "pprzlink/messages.h"
|
||||
#include "modules/gps/gps_ubx_i2c.h"
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
#include <math.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef GPS_I2C
|
||||
#include "modules/gps/gps_i2c.h"
|
||||
#include "modules/gps/gps_ubx_i2c.h"
|
||||
#endif
|
||||
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
Reference in New Issue
Block a user