Skip to content

Commit

Permalink
[datalink] fix bluegiga parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Jan 14, 2016
1 parent e0258e1 commit 9a9f4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/bluegiga.c
Expand Up @@ -292,7 +292,7 @@ void bluegiga_receive(struct spi_transaction *trans)
int8_t rssi = RssiOfSender(trans->input_buf);
uint8_t ac_id = SenderIdOfMsg(trans->input_buf);

if (Pprz_StxOfMsg(trans->input_buf) == STX) {
if (Pprz_StxOfMsg(trans->input_buf) == PPRZ_STX) {
AbiSendMsgRSSI(RSSI_BLUEGIGA_ID, ac_id, tx_strength, rssi);
}

Expand Down
2 changes: 1 addition & 1 deletion sw/ext/pprzlink

0 comments on commit 9a9f4a0

Please sign in to comment.