Support ESP32-C3

User Serial1 for rc instead of Serial2, as ESP32-C3 has only 2 Serials.
Add CI build for ESP32-C3.
This commit is contained in:
Oleg Kalachev
2026-05-10 21:07:20 +03:00
parent 1f48e379e3
commit 35e94f6ea6
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include <SBUS.h>
#include "util.h"
SBUS rc(Serial2);
SBUS rc(Serial1);
int rcRxPin = -1; // -1 means disabled
uint16_t channels[16]; // raw rc channels