From 822c150e0da417a728896a16acdc8b8261369f65 Mon Sep 17 00:00:00 2001 From: Ric In New Mexico <78682404+RicInNewMexico@users.noreply.github.com> Date: Sat, 16 Sep 2023 14:24:59 -0600 Subject: [PATCH] Fixing typo in src/mesh/mesh-pb-constants.cpp logging (#2800) * Update variant.h Add second i2c channel on external connector for Station G1 * Create trunk-check.yml * Fix typo in logging Corrected typo in pb_msgdesc logging for packets failing to be decoded. --------- Co-authored-by: Ben Meadors --- src/mesh/mesh-pb-constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/mesh-pb-constants.cpp b/src/mesh/mesh-pb-constants.cpp index 994fab61f..93dbf0178 100644 --- a/src/mesh/mesh-pb-constants.cpp +++ b/src/mesh/mesh-pb-constants.cpp @@ -25,7 +25,7 @@ bool pb_decode_from_bytes(const uint8_t *srcbuf, size_t srcbufsize, const pb_msg { pb_istream_t stream = pb_istream_from_buffer(srcbuf, srcbufsize); if (!pb_decode(&stream, fields, dest_struct)) { - LOG_ERROR("Can't decode protobuf reason='%s', pb_msgdesc 0x%p\n", PB_GET_ERROR(&stream), fields); + LOG_ERROR("Can't decode protobuf reason='%s', pb_msgdesc %p\n", PB_GET_ERROR(&stream), fields); return false; } else { return true;