From 0e09a649cfa8edff5197d4c6344e2ba6b45d8140 Mon Sep 17 00:00:00 2001 From: greyes Date: Sun, 5 Nov 2023 14:18:45 +0100 Subject: [PATCH] Removed old Utils from AppConvoyLeader --- lib/APPConvoyLeader/App.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/APPConvoyLeader/App.cpp b/lib/APPConvoyLeader/App.cpp index 9dee3894..ca797b2c 100644 --- a/lib/APPConvoyLeader/App.cpp +++ b/lib/APPConvoyLeader/App.cpp @@ -114,20 +114,12 @@ void App::loop() void App::reportPosition() { - int32_t xPos; - int32_t yPos; - uint8_t outBuf[POSITION_CHANNEL_DLC]; - - Odometry::getInstance().getPosition(xPos, yPos); - - Util::int32ToByteArray(&outBuf[0U], (sizeof(outBuf) - sizeof(int32_t)), xPos); - Util::int32ToByteArray(&outBuf[4U], (sizeof(outBuf) - sizeof(int32_t)), yPos); - - m_smpServer.sendData(POSITION_CHANNEL, outBuf, sizeof(outBuf)); + ; /* Do nothing. */ } void App::positionCallback(const uint8_t* payload, const uint8_t payloadSize) { + ; /* Do nothing. */ } /******************************************************************************