Browse Source

AP_HAL_Chibios: warning fixes

mission-4.1.18
Peter Barker 7 years ago committed by Andrew Tridgell
parent
commit
f3d46506b0
  1. 6
      libraries/AP_HAL_ChibiOS/hwdef/common/hrt.h
  2. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/posix.h
  3. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/ppm.h

6
libraries/AP_HAL_ChibiOS/hwdef/common/hrt.h

@ -4,8 +4,8 @@ @@ -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

2
libraries/AP_HAL_ChibiOS/hwdef/common/posix.h

@ -379,7 +379,7 @@ int posix_fopen_modes_to_open ( const char *mode ); @@ -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

2
libraries/AP_HAL_ChibiOS/hwdef/common/ppm.h

@ -23,6 +23,6 @@ uint16_t ppm_read(uint8_t chan); @@ -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

Loading…
Cancel
Save