summaryrefslogtreecommitdiffstats
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 @@
#ifndef FMRADIO_I2C_H
#define FMRADIO_I2C_H
+#include "config.h" /* for INIT_ATTR */
#include <stdbool.h>
-void fmradio_i2c_init(void);
+void fmradio_i2c_init(void) INIT_ATTR;
void fmradio_i2c_enable(bool enable);
int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count);
int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count);