* Packet::copyPath() fix

This commit is contained in:
Scott Powell
2026-02-25 17:10:31 +11:00
parent b14879ce2d
commit 8737c64fdb

View File

@@ -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) { 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; return path_len;
} }