fix(gx12): periodically read IO expander in mixer (#7105)

This commit is contained in:
3djc
2026-02-22 10:16:49 +10:00
committed by GitHub
parent 4a8ed1af20
commit e301949335
4 changed files with 70 additions and 54 deletions
+4
View File
@@ -42,6 +42,10 @@ struct hw_switch_def {
int8_t switchesStates[MAX_SWITCHES];
#if defined(RADIO_GX12)
void _poll_switches() {}
#endif
void simuSetSwitch(uint8_t swtch, int8_t state)
{
assert(swtch < switchGetMaxAllSwitches());