From 194d1e96f303c910142af2fbf1475d11a4f5e0d1 Mon Sep 17 00:00:00 2001 From: Matt Way Date: Fri, 15 Dec 2023 22:40:07 +1100 Subject: [PATCH] Fetch position after sending a stop packet --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4e4cbab..c05a732 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,6 +167,8 @@ void onConnectionEstablished() { } else if (payload == "STOP") { hubPacketBuilder.buildStopPacket(buffer, shadeID); sendCommand(buffer); + hubPacketBuilder.buildFetchPositionPacket(buffer, shadeID); + sendCommand(buffer); } });