Tidy up existing i2c_master implementations (#15376)

* Move chibios defines out of header

* Make some avr defines internal
This commit is contained in:
Joel Challis
2021-12-02 14:32:31 +00:00
committed by GitHub
parent 4466261895
commit 3bf2403244
5 changed files with 71 additions and 81 deletions

View File

@@ -42,6 +42,12 @@
#define ENCODERS_PAD_B \
{ B12, B0 }
/* I2C - required for custom i2c_init */
#define I2C1_SCL_PIN B6
#define I2C1_SDA_PIN B7
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
/* Audio */
#define AUDIO_PIN A8
#define AUDIO_PWM_PAL_MODE 1