kopia lustrzana https://github.com/mobilinkd/tnc3-firmware
Fix empty body warning when not logging.
rodzic
0a6d34bec4
commit
013b25bf84
|
@ -531,7 +531,10 @@ void M17Encoder::encoderTask(void const*)
|
|||
HAL_IWDG_Refresh(&hiwdg);
|
||||
|
||||
auto frame = static_cast<IoFrame*>(evt.value.p);
|
||||
if (frame->size() != 48) WARN("Bad frame size %u", frame->size());
|
||||
if (frame->size() != 48)
|
||||
{
|
||||
WARN("Bad frame size %u", frame->size());
|
||||
}
|
||||
|
||||
for (uint8_t c : *frame) modulator.send(c); // This takes ~40ms.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue