fix imports
Some checks failed
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Failing after 3m19s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Has been cancelled
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Has been cancelled
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Failing after 4s

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-12-24 23:58:50 +01:00
parent c259a3f2c8
commit 66633fe537

View File

@@ -9,6 +9,8 @@
#ifndef U8G2_ESP32_HAL_H_
#define U8G2_ESP32_HAL_H_
#include "soc/soc_caps.h"
#include "u8g2.h"
#include "driver/gpio.h"
@@ -17,7 +19,7 @@
#define U8G2_ESP32_HAL_UNDEFINED GPIO_NUM_NC
#if SOC_I2C_NUM > 1
#if defined(SOC_I2C_NUM) && SOC_I2C_NUM > 1
#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number for master dev
#else
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev