From e717999cb0c5b4db4e4f98ab7e9968c4938f0758 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 20 Sep 2023 17:14:07 +0200 Subject: [PATCH] cobs --- satrs-core/src/encoding/cobs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satrs-core/src/encoding/cobs.rs b/satrs-core/src/encoding/cobs.rs index 6fa4901..28ed3a1 100644 --- a/satrs-core/src/encoding/cobs.rs +++ b/satrs-core/src/encoding/cobs.rs @@ -48,7 +48,7 @@ pub fn encode_packet_with_cobs( /// This function parses a given buffer for COBS encoded packets. The packet structure is /// expected to be like this, assuming a sentinel value of 0 as the packet delimiter: /// -/// 0 | ... Packet Data ... | 0 | 0 | ... Packet Data ... | 0 +/// 0 | ... Encoded Packet Data ... | 0 | 0 | ... Encoded Packet Data ... | 0 /// /// This function is also able to deal with broken tail packets at the end. If broken tail /// packets are detected, they are moved to the front of the buffer, and the write index for