AP_HAL_Chibios: warning fixes

This commit is contained in:
Peter Barker 2018-01-08 16:07:26 +11:00 committed by Andrew Tridgell
parent 791edee0ff
commit f3d46506b0
3 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@
#ifdef __cplusplus
extern "C" {
#endif
void hrt_init();
uint64_t hrt_micros();
#if __cplusplus
void hrt_init(void);
uint64_t hrt_micros(void);
#ifdef __cplusplus
}
#endif

View File

@ -379,7 +379,7 @@ int posix_fopen_modes_to_open ( const char *mode );
int fprintf(FILE *fp, const char *format, ...);
#if __cplusplus
#ifdef __cplusplus
}
#endif

View File

@ -23,6 +23,6 @@ uint16_t ppm_read(uint8_t chan);
uint8_t ppm_read_bulk(uint16_t periods[], uint8_t len);
bool ppm_available();
#if __cplusplus
#ifdef __cplusplus
}
#endif