Skip to content

Commit

Permalink
Rename xboard function
Browse files Browse the repository at this point in the history
  • Loading branch information
doraeric authored and john0312 committed Jul 27, 2024
1 parent 3ea1abe commit 883d92b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fw/Core/Hitcon/Logic/XBoardLogic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void XBoardLogic::Init() {
g_xboard_service.SetOnByteRx((callback_t)&XBoardLogic::OnByteArrive, this);
}

void XBoardLogic::QueuePacketForTx(uint8_t *packet, size_t packet_len) {
void XBoardLogic::QueueDataForTx(uint8_t *packet, size_t packet_len) {
// TODO
}

Expand Down
5 changes: 2 additions & 3 deletions fw/Core/Hitcon/Logic/XBoardLogic.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ class XBoardLogic {

void Init();

// Call QueuePacketForTx() to queue a packet for transmission on
// the XBoard connection.
void QueuePacketForTx(uint8_t* packet, size_t packet_len);
// Encapsulate data into a packet and then put into the tx queue.
void QueueDataForTx(uint8_t* data, size_t data_len);

// On detected connection from a remote board, this will be called.
void SetOnConnect(callback_t callback, void* callback_arg1);
Expand Down

0 comments on commit 883d92b

Please sign in to comment.