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
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:
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
#ifndef U8G2_ESP32_HAL_H_
|
#ifndef U8G2_ESP32_HAL_H_
|
||||||
#define U8G2_ESP32_HAL_H_
|
#define U8G2_ESP32_HAL_H_
|
||||||
|
|
||||||
|
#include "soc/soc_caps.h"
|
||||||
#include "u8g2.h"
|
#include "u8g2.h"
|
||||||
|
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
@@ -17,7 +19,7 @@
|
|||||||
|
|
||||||
#define U8G2_ESP32_HAL_UNDEFINED GPIO_NUM_NC
|
#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
|
#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number for master dev
|
||||||
#else
|
#else
|
||||||
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev
|
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev
|
||||||
|
|||||||
Reference in New Issue
Block a user