fix: derive SWSERIALPOWER from hardware GPIO capabilities (#7392)

This commit is contained in:
3djc
2026-06-04 13:46:04 +10:00
committed by GitHub
parent 1d4c723c9d
commit 9e1afdfb58
2 changed files with 4 additions and 6 deletions
+4
View File
@@ -23,6 +23,10 @@
#include "serial_driver.h"
#if defined(AUX_SERIAL_PWR_GPIO) || defined(AUX2_SERIAL_PWR_GPIO)
#define SWSERIALPOWER
#endif
typedef struct {
const char* name;
const etx_serial_driver_t* uart;