Use Serial1 for for rc on esp32-c3

This commit is contained in:
Oleg Kalachev
2026-05-09 19:25:03 +03:00
parent 3e59688818
commit bcacad7ff8
+5
View File
@@ -6,7 +6,12 @@
#include <SBUS.h>
#include "util.h"
#ifdef CONFIG_IDF_TARGET_ESP32C3
SBUS rc(Serial1);
#else
SBUS rc(Serial2);
#endif
int rcRxPin = -1; // -1 means disabled
uint16_t channels[16]; // raw rc channels