Skip to content

Commit

Permalink
Minor fix to 2 debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Haughey committed Oct 8, 2011
1 parent 0d9b808 commit 9561491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pedalog.c
Expand Up @@ -194,7 +194,7 @@ static int read_device_serial(struct usb_device *device)
// No response was returned, or an error - assume this is a V1 Pedalog without a serial and
// return 0
#ifdef DEBUG
printf("Bad response given, assuming old firmware, exiting read_device_serial, returning '0'\n");
printf("Bad response given, assuming old firmware, exiting read_device_serial, returning 0\n");
#endif
return 0;
}
Expand All @@ -205,7 +205,7 @@ static int read_device_serial(struct usb_device *device)
int serial = atof(serial_string);

#ifdef DEBUG
printf("Exiting read_device_serial, returning %d\n", r);
printf("Exiting read_device_serial, returning %d\n", serial);
#endif

return serial;
Expand Down

0 comments on commit 9561491

Please sign in to comment.