Fix undeclared variable
This commit is contained in:
parent
86a7305f5e
commit
4cd114e911
@ -224,6 +224,7 @@ mbus_serial_send_frame(mbus_handle *handle, mbus_frame *frame)
|
||||
#ifdef MBUS_SERIAL_DEBUG
|
||||
// if debug, dump in HEX form to stdout what we write to the serial port
|
||||
printf("%s: Dumping M-Bus frame [%d bytes]: ", __PRETTY_FUNCTION__, len);
|
||||
int i;
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
printf("%.2X ", buff[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user