We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ce96b commit 210e2c0Copy full SHA for 210e2c0
2 files changed
src/state_bcm.c
@@ -240,7 +240,7 @@ void state_bcm()
240
}
241
242
// Construct the format string for the dynamically based on frame.len
243
- char format[256];
+ char format[512];
244
snprintf(format, sizeof(format), "< %%*s %%x %%hhx %%hhu");
245
for (int i = 0; i < msg.frame.len; i++) {
246
strncat(format, " %hhx", sizeof(format) - strlen(format) - 1);
src/state_raw.c
@@ -242,7 +242,7 @@ void state_raw()
// Construct the format string dynamically based on frame.len
247
for (int i = 0; i < frame.len; i++) {
248
0 commit comments