diff options
Diffstat (limited to 'lib/rda1846.h')
-rw-r--r-- | lib/rda1846.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rda1846.h b/lib/rda1846.h index d043f00..c744444 100644 --- a/lib/rda1846.h +++ b/lib/rda1846.h @@ -23,6 +23,10 @@ #ifndef SPREADAVR_rda1846_h_INCLUDED #define SPREADAVR_rda1846_h_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { b_2m, b_1m5, b_70cm } rf_band_t; char* rda1846_rf_band_to_string(rf_band_t); typedef enum { bw_12k5, bw_25k } channel_bw_t; @@ -64,4 +68,8 @@ uint16_t rda1846_get_flags(void); void rda1846_dump_register(void); +#ifdef __cplusplus +} +#endif + #endif |