mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 08:22:43 +08:00
Fix bug in datalink
This commit is contained in:
@@ -89,7 +89,7 @@ static void end_message(struct pprz_transport *trans, struct link_device *dev)
|
||||
{
|
||||
dev->transmit(dev->periph, trans->ck_a_tx);
|
||||
dev->transmit(dev->periph, trans->ck_b_tx);
|
||||
dev->send_message(dev);
|
||||
dev->send_message(dev->periph);
|
||||
}
|
||||
|
||||
static void overrun(struct pprz_transport *trans __attribute__((unused)), struct link_device *dev __attribute__((unused)))
|
||||
|
||||
@@ -86,7 +86,7 @@ static void start_message(struct pprzlog_transport *trans, struct link_device *d
|
||||
static void end_message(struct pprzlog_transport *trans, struct link_device *dev)
|
||||
{
|
||||
dev->transmit(dev->periph, trans->ck);
|
||||
dev->send_message(dev);
|
||||
dev->send_message(dev->periph);
|
||||
}
|
||||
|
||||
static void overrun(struct pprzlog_transport *trans __attribute__((unused)), struct link_device *dev __attribute__((unused)))
|
||||
|
||||
@@ -95,7 +95,7 @@ static void end_message(struct xbee_transport *trans, struct link_device *dev)
|
||||
{
|
||||
trans->cs_tx = 0xff - trans->cs_tx;
|
||||
dev->transmit(dev->periph, trans->cs_tx);
|
||||
dev->send_message(dev);
|
||||
dev->send_message(dev->periph);
|
||||
}
|
||||
|
||||
static void overrun(struct xbee_transport *trans __attribute__((unused)), struct link_device *dev __attribute__((unused)))
|
||||
|
||||
Reference in New Issue
Block a user