Fetch position after sending a stop packet

This commit is contained in:
2023-12-15 22:40:07 +11:00
parent 18639220b8
commit 194d1e96f3

View File

@@ -167,6 +167,8 @@ void onConnectionEstablished() {
} else if (payload == "STOP") { } else if (payload == "STOP") {
hubPacketBuilder.buildStopPacket(buffer, shadeID); hubPacketBuilder.buildStopPacket(buffer, shadeID);
sendCommand(buffer); sendCommand(buffer);
hubPacketBuilder.buildFetchPositionPacket(buffer, shadeID);
sendCommand(buffer);
} }
}); });