Skip to content

Commit

Permalink
Made a debug message more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Haughey committed Oct 8, 2011
1 parent 4c7e505 commit 39df8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pedalog.c
Expand Up @@ -304,7 +304,7 @@ static int read_data_internal(pedalog_data *data, usb_dev_handle *handle, struct
if (r != RESPONSE_LENGTH)
{
#ifdef DEBUG
printf("Response length doesn't match, exiting read_data_internal, returning PEDALOG_ERROR_BAD_RESPONSE\n");
printf("Response length (%d) doesn't match expected length (%d), exiting read_data_internal, returning PEDALOG_ERROR_BAD_RESPONSE\n", r, RESPONSE_LENGTH);
#endif
return PEDALOG_ERROR_BAD_RESPONSE;
}
Expand Down

0 comments on commit 39df8b5

Please sign in to comment.