summaryrefslogtreecommitdiff
path: root/firmware/export/fmradio_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/fmradio_i2c.h')
-rw-r--r--firmware/export/fmradio_i2c.h3
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
27void fmradio_i2c_init(void); 28void fmradio_i2c_init(void) INIT_ATTR;
28void fmradio_i2c_enable(bool enable); 29void fmradio_i2c_enable(bool enable);
29int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count); 30int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count);
30int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count); 31int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count);