reset unrelated variables to base branch, fixed typos

This commit is contained in:
Niklas Jensen
2026-01-18 21:20:13 +01:00
committed by Rune Harlyk
parent cec9024a26
commit 6104c54f39
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class CommAdapterBase {
size_t out_size;
pb_get_encoded_size(&out_size, socket_message_Message_fields, &msg_);
uint8_t *buffer = pb_heap_enc_buf;
if (out_size > sizeof(pb_heap_enc_buf)) { // It the encoded size exceeds our buffer size, we needs to malloc a buffer of a proper size
if (out_size > sizeof(pb_heap_enc_buf)) { // If the encoded size exceeds our buffer size, we needs to malloc a buffer of a proper size
buffer = (uint8_t*) malloc(out_size);
}