From 07ce2df5da6265702e1d99556f46139f8b5b8611 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sun, 24 Jan 2016 20:02:30 +0100 Subject: write/verify scratchpad. proper formatting. warning comment. --- pc/a.out | Bin 12856 -> 0 bytes pc/usbtest.c | 10 ++++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) delete mode 100755 pc/a.out (limited to 'pc') diff --git a/pc/a.out b/pc/a.out deleted file mode 100755 index c271ddd..0000000 Binary files a/pc/a.out and /dev/null differ diff --git a/pc/usbtest.c b/pc/usbtest.c index 137180f..8ea2a62 100644 --- a/pc/usbtest.c +++ b/pc/usbtest.c @@ -176,9 +176,12 @@ int main(int argc, char **argv) nBytes = usb_control_msg(handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, 0x21, 0, 0, (char *)buffer, sizeof(buffer), 1000); - printf("Got %d bytes: %s = \n", nBytes, buffer); + printf("Got %d bytes: %s = ", nBytes, buffer); for (int i=0; i