common: formatting fixes.

This commit is contained in:
Solomon Peachy 2014-12-31 14:01:32 -05:00
parent fef3b0e0ec
commit eda139a9db
1 changed files with 8 additions and 4 deletions

View File

@ -186,8 +186,10 @@ int read_data(struct libusb_device_handle *dev, uint8_t endp,
DEBUG("<- ");
while(i > 0) {
if (i % 16 == 0 && i != *readlen)
if (i % 16 == 0 && i != *readlen) {
DEBUG2("\n");
DEBUG(" ");
}
DEBUG2("%02x ", *(buf+i));
i--;
}
@ -219,8 +221,10 @@ int send_data(struct libusb_device_handle *dev, uint8_t endp,
DEBUG("-> ");
while(i > 0) {
if (i % 16 == 0 && i != num)
if (i % 16 == 0 && i != num) {
DEBUG2("\n");
DEBUG(" ");
}
DEBUG2("%02x ", *(buf+i));
i--;
}