altos: eliminate ao_wake_task
[fw/altos] / src / ao_packet.c
index 9896149cbff480efe10c67d5e3846c670554fe14..f627e02b4022ee8004fd5400a4eb20d0d0ed60d8 100644 (file)
@@ -117,7 +117,7 @@ ao_packet_flush(void)
         * then poke the master to send all queued data
         */
        if (ao_packet_tx_used && ao_packet_master_sleeping)
-               ao_wake_task(&ao_packet_task);
+               ao_wakeup(&ao_packet_master_sleeping);
 }
 #endif /* PACKET_HAS_MASTER */