feat: non inverted SBUS trainer support on serial inputs on H5/H7 (#7133)

This commit is contained in:
3djc
2026-03-15 13:58:51 +10:00
committed by GitHub
parent 8a9b52bd97
commit b3d36ebee1
23 changed files with 171 additions and 128 deletions
+5
View File
@@ -555,6 +555,11 @@ bool isSerialModeAvailable(uint8_t port_nr, int mode)
return false;
#endif
#if defined(STM32F4)
if (mode == UART_MODE_SBUS_TRAINER_INV)
return false;
#endif
#if !defined(LUA)
if (mode == UART_MODE_LUA)
return false;