mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
[gps] moved prototype
This commit is contained in:
@@ -146,13 +146,14 @@ extern struct GpsState gps;
|
|||||||
typedef void (*ImplGpsInit)(void);
|
typedef void (*ImplGpsInit)(void);
|
||||||
typedef void (*ImplGpsEvent)(void);
|
typedef void (*ImplGpsEvent)(void);
|
||||||
|
|
||||||
#ifdef PRIMARY_GPS_TYPE_H
|
|
||||||
void GpsEvent(void);
|
void GpsEvent(void);
|
||||||
/*
|
/*
|
||||||
* register callbacks and state pointers
|
* register callbacks and state pointers
|
||||||
*/
|
*/
|
||||||
extern void gps_register_impl(ImplGpsInit init, ImplGpsEvent event, uint8_t id, int8_t instance);
|
extern void gps_register_impl(ImplGpsInit init, ImplGpsEvent event, uint8_t id, int8_t instance);
|
||||||
|
|
||||||
|
#ifdef PRIMARY_GPS_TYPE_H
|
||||||
#include PRIMARY_GPS_TYPE_H
|
#include PRIMARY_GPS_TYPE_H
|
||||||
#endif
|
#endif
|
||||||
#ifdef SECONDARY_GPS_TYPE_H
|
#ifdef SECONDARY_GPS_TYPE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user