3 Commits

Author SHA1 Message Date
Oleg Kalachev fa848e589e Use Serial1 for sbus on all platforms 2026-05-10 01:17:00 +03:00
Oleg Kalachev bcacad7ff8 Use Serial1 for for rc on esp32-c3 2026-05-09 19:25:03 +03:00
Oleg Kalachev 3e59688818 Add esp32-c3 build to ci 2026-05-09 18:59:58 +03:00
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -25,6 +25,8 @@ jobs:
path: flix/build
- name: Build firmware for ESP32-S3
run: make BOARD=esp32:esp32:esp32s3
- name: Build firmware for ESP32-C3
run: make BOARD=esp32:esp32:esp32c3
- name: Check c_cpp_properties.json
run: tools/check_c_cpp_properties.py
+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
+1 -1
View File
@@ -151,7 +151,7 @@ public:
void setRxInvert(bool invert) {};
};
HardwareSerial Serial, Serial2;
HardwareSerial Serial, Serial1, Serial2;
class EspClass {
public: