Use Serial1 for for rc on esp32-c3

This commit is contained in:
Oleg Kalachev
2026-01-23 03:18:41 +03:00
parent 8153644578
commit 2308bd4d8f

View File

@@ -6,7 +6,11 @@
#include <SBUS.h>
#include "util.h"
#ifdef ESP32C3
SBUS rc(Serial1);
#else
SBUS rc(Serial2);
#endif
uint16_t channels[16]; // raw rc channels
float channelZero[16]; // calibration zero values