X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_packet_slave.c;h=a5834799d7e8df306a907f3e793d14cb1df9f3cf;hb=efc2c093819b3ec2e5743126efb76d3a9c0ad231;hp=b877128ab0ed78f1ed4da64702e87645b4ccd50c;hpb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;p=fw%2Faltos diff --git a/src/drivers/ao_packet_slave.c b/src/drivers/ao_packet_slave.c index b877128a..a5834799 100644 --- a/src/drivers/ao_packet_slave.c +++ b/src/drivers/ao_packet_slave.c @@ -18,7 +18,7 @@ #include "ao.h" -void +static void ao_packet_slave(void) { ao_tx_packet.addr = ao_serial_number; @@ -28,7 +28,7 @@ ao_packet_slave(void) if (ao_packet_recv(0)) { ao_xmemcpy(&ao_tx_packet.callsign, &ao_rx_packet.packet.callsign, AO_MAX_CALLSIGN); #if HAS_FLIGHT - ao_flight_force_idle = TRUE; + ao_flight_force_idle = true; #endif ao_packet_send(); }