Skip to content

Commit

Permalink
Fix bug in datalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fvantienen committed Nov 12, 2014
1 parent 70feaf1 commit a6022b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/pprz_transport.c
Expand Up @@ -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)))
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/pprzlog_transport.c
Expand Up @@ -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)))
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/xbee.c
Expand Up @@ -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)))
Expand Down

0 comments on commit a6022b9

Please sign in to comment.