mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00
fix newline detection in error printing
Our code check for newline in the format string, not in the parameter
This commit is contained in:
parent
3f07251d23
commit
ed96321406
@ -281,8 +281,8 @@ void printPacket(const char *prefix, const meshtastic_MeshPacket *p)
|
|||||||
if (p->priority != 0)
|
if (p->priority != 0)
|
||||||
out += DEBUG_PORT.mt_sprintf(" priority=%d", p->priority);
|
out += DEBUG_PORT.mt_sprintf(" priority=%d", p->priority);
|
||||||
|
|
||||||
out += ")\n";
|
out += ")";
|
||||||
LOG_DEBUG("%s", out.c_str());
|
LOG_DEBUG("%s\n", out.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
RadioInterface::RadioInterface()
|
RadioInterface::RadioInterface()
|
||||||
|
Loading…
Reference in New Issue
Block a user