From 8737c64fdb47d0813d8bd5b63b45ae9607dd9e45 Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Wed, 25 Feb 2026 17:10:31 +1100 Subject: [PATCH] * Packet::copyPath() fix --- src/Packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Packet.cpp b/src/Packet.cpp index 9fd06395..934020b3 100644 --- a/src/Packet.cpp +++ b/src/Packet.cpp @@ -30,7 +30,7 @@ size_t Packet::writePath(uint8_t* dest, const uint8_t* src, uint8_t path_len) { } uint8_t Packet::copyPath(uint8_t* dest, const uint8_t* src, uint8_t path_len) { - if (writePath(dest, src, path_len) == 0) return 0; + writePath(dest, src, path_len); return path_len; }