Remove lingering I2CD2 usages w/ RP2040 (#19833)

This commit is contained in:
jack 2023-02-12 23:10:51 -07:00 committed by GitHub
parent 896d9aa98c
commit 37fc08af84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -3,12 +3,10 @@
#pragma once
#include "config_common.h"
#ifdef OLED_ENABLE
#define I2C1_SCL_PIN GP27
#define I2C1_SDA_PIN GP26
#define I2C_DRIVER I2CD2
#define I2C_DRIVER I2CD1
#define OLED_DISPLAY_128X32
#define OLED_BRIGHTNESS 128
#endif

View File

@ -34,4 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RP2040_FLASH_GENERIC_03H
#define I2C1_SDA_PIN GP26
#define I2C1_SCL_PIN GP27
#define I2C_DRIVER I2CD2
#define I2C_DRIVER I2CD1