Merge pull request #35 from aleax/bugfix

Fix undeclared variable
This commit is contained in:
Robert Johansson 2013-01-14 02:37:42 -08:00
commit be6e49db16

View File

@ -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]);