Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonbchen committed Nov 5, 2024
1 parent 3111529 commit 51ef3e4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions hardware_test/RF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,7 @@ void RF::SendString(std::string message)
RFSent << message << "\n";
}

void RF::SendFrame(RF::rfFrame frame)
{

frame.magic_number = FRAME_MAGIC_NUMBER;
frame.footer = RF_FOOTER;

uint8_t * packet = (uint8_t *) &frame;

std::string result((char *) packet, sizeof(RF::rfFrame));

SendString(result);
}

RF::Command RF::GetCommand() // Will check for commands and return the received command. Non-blocking.
{
Expand Down

0 comments on commit 51ef3e4

Please sign in to comment.