mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 15:07:34 +08:00
Fix build for HW w/o mux
This commit is contained in:
committed by
Lorenz Meier
parent
50a14cfd29
commit
415fbae31e
@@ -395,10 +395,11 @@ uint8_t TAP_ESC::crc_packet(EscPacket &p)
|
||||
}
|
||||
void TAP_ESC::select_responder(uint8_t sel)
|
||||
{
|
||||
#if defined(GPIO_S0)
|
||||
px4_arch_gpiowrite(GPIO_S0, sel & 1);
|
||||
px4_arch_gpiowrite(GPIO_S1, sel & 2);
|
||||
px4_arch_gpiowrite(GPIO_S2, sel & 4);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user