Bugfix - opravena spatna +1 v delce.
This commit is contained in:
parent
b6cc695e95
commit
a31409059b
@ -13,7 +13,7 @@ struct TraceLine
|
|||||||
TraceLine(uint8_t severity, const char *str, uint16_t len)
|
TraceLine(uint8_t severity, const char *str, uint16_t len)
|
||||||
{
|
{
|
||||||
strncpy(_text, str, sizeof(_text));
|
strncpy(_text, str, sizeof(_text));
|
||||||
_text[MAX_LINE_LEN + 1] = 0;
|
_text[MAX_LINE_LEN] = 0;
|
||||||
_time = millis();
|
_time = millis();
|
||||||
_severity = severity;
|
_severity = severity;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user