summaryrefslogtreecommitdiff
path: root/drivers/arm/i2c_master.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-12-21 18:22:49 +0000
committerGitHub <noreply@github.com>2019-12-21 18:22:49 +0000
commit376419a4f7e0489111a9ac24acc847342fe9d64d (patch)
tree7956534e51eb87d62af3c4ba81f19118a7a04ef9 /drivers/arm/i2c_master.c
parent05b479d349aafb8298b43fcbfcddc4440336de9c (diff)
Add central location for ChibiOS defines (#7542)
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
Diffstat (limited to 'drivers/arm/i2c_master.c')
-rw-r--r--drivers/arm/i2c_master.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/arm/i2c_master.c b/drivers/arm/i2c_master.c
index b9eff0ad2e..21aefd497c 100644
--- a/drivers/arm/i2c_master.c
+++ b/drivers/arm/i2c_master.c
@@ -24,9 +24,8 @@
* STM32_I2C_USE_I2C1 is TRUE in the mcuconf.h file. Pins B6 and B7 are used
* but using any other I2C pins should be trivial.
*/
-
-#include "i2c_master.h"
#include "quantum.h"
+#include "i2c_master.h"
#include <string.h>
#include <hal.h>