Skip to content

Commit 90a6b50

Browse files
committedMar 14, 2025
Reduce number of default log message for proto to send
Size info can be log in the callback with other info.
1 parent 6a435a3 commit 90a6b50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/wpc_proto/internal_modules/proto_config.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ static void onStackStatusReceived(uint8_t status)
542542
}
543543
else
544544
{
545-
LOGI("Msg size %d\n", stream.bytes_written);
545+
LOGD("Msg size %d\n", stream.bytes_written);
546546
if (m_onProtoEventStatus_cb != NULL)
547547
{
548548
m_onProtoEventStatus_cb(encoded_message_p, stream.bytes_written);

‎lib/wpc_proto/internal_modules/proto_data.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static bool onDataReceived(const uint8_t * bytes,
106106
}
107107
else
108108
{
109-
LOGI("Msg size %d\n", stream.bytes_written);
109+
LOGD("Msg size %d\n", stream.bytes_written);
110110
if (m_rx_event_cb != NULL)
111111
{
112112
m_rx_event_cb(encoded_message_p, stream.bytes_written,

0 commit comments

Comments
 (0)