feat: support for RadioMaster GX12 (#5703)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
raphaelcoeffic
philmoz
Peter Feerick
parent
0f86cd9a95
commit
36cdd93a1a
@@ -31,12 +31,12 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void boardInitSwitches()
|
||||
__weak void boardInitSwitches()
|
||||
{
|
||||
_init_switches();
|
||||
}
|
||||
|
||||
SwitchHwPos boardSwitchGetPosition(uint8_t cat, uint8_t idx)
|
||||
__weak SwitchHwPos boardSwitchGetPosition(uint8_t cat, uint8_t idx)
|
||||
{
|
||||
return stm32_switch_get_position(&_switch_offsets[cat][idx]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user