aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/includes/GPIO/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/includes/GPIO/i2c.h')
-rw-r--r--src/common/includes/GPIO/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/includes/GPIO/i2c.h b/src/common/includes/GPIO/i2c.h
index 109213b..69a4ad2 100644
--- a/src/common/includes/GPIO/i2c.h
+++ b/src/common/includes/GPIO/i2c.h
@@ -28,7 +28,7 @@
#include <stdint.h>
/* Initialise I2C on the board for both the audio codec and the GPS receiver */
-void i2c_init();
+void i2c_init(void);
/* Do an I2C write, return 1 on success, 0 on failure */
int i2c_write(uint8_t device, const uint8_t *txbuf, int len);