diff options
Diffstat (limited to 'firmware/export/fmradio_i2c.h')
-rw-r--r-- | firmware/export/fmradio_i2c.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/fmradio_i2c.h b/firmware/export/fmradio_i2c.h index 0dc3889b08..f8f6e4f646 100644 --- a/firmware/export/fmradio_i2c.h +++ b/firmware/export/fmradio_i2c.h | |||
@@ -22,9 +22,10 @@ | |||
22 | #ifndef FMRADIO_I2C_H | 22 | #ifndef FMRADIO_I2C_H |
23 | #define FMRADIO_I2C_H | 23 | #define FMRADIO_I2C_H |
24 | 24 | ||
25 | #include "config.h" /* for INIT_ATTR */ | ||
25 | #include <stdbool.h> | 26 | #include <stdbool.h> |
26 | 27 | ||
27 | void fmradio_i2c_init(void); | 28 | void fmradio_i2c_init(void) INIT_ATTR; |
28 | void fmradio_i2c_enable(bool enable); | 29 | void fmradio_i2c_enable(bool enable); |
29 | int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count); | 30 | int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count); |
30 | int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count); | 31 | int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count); |