mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 20:48:58 +08:00
Update serial_service.cpp
This commit is contained in:
parent
1466fa770d
commit
219cde891b
@ -36,7 +36,7 @@ HardwareSerial *Serials[MAX_SERIAL] = {&Serial, &Serial1};
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C3)
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
#define MAX_SERIAL 2
|
||||
HardwareSerial *Serials[MAX_SERIAL] = {&Serial, &Serial1};
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user