fix: string too short

This commit is contained in:
iceman1001 2020-04-10 10:28:52 +02:00
parent 0e2ac41717
commit df0aaa020d

View file

@ -212,7 +212,6 @@ void hex_to_buffer(const uint8_t *buf, const uint8_t *hex_data, const size_t hex
sprintf(tmp, " ");
// remove last space
--tmp;
*tmp = '\0';
return;
}