fixup! lotus: Configure I2C

This commit is contained in:
Daniel Schaefer 2023-01-06 09:43:48 +08:00
parent f0d6021e84
commit 02a496cad2
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#define BACKLIGHT_PWM_DRIVER PWMD4
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
// I2C for the RBG controller
#define I2C_DRIVER I2CD0
#define I2C1_SDA_PIN GP26
#define I2C1_SCL_PIN GP27

View File

@ -18,6 +18,8 @@
#undef RP_PWM_USE_PWM4
#define RP_PWM_USE_PWM4 TRUE
#undef RP_I2C_USE_I2C0
#define RP_I2C_USE_I2C0 TRUE
/*
* IRQ system settings.