From 51ef3e46c2c14cc9449f2b16b218fb4eb65567fb Mon Sep 17 00:00:00 2001 From: gordonbchen Date: Tue, 5 Nov 2024 18:15:09 -0500 Subject: [PATCH] Typo --- hardware_test/RF.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hardware_test/RF.cpp b/hardware_test/RF.cpp index 6aae288..32f58ea 100644 --- a/hardware_test/RF.cpp +++ b/hardware_test/RF.cpp @@ -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. {