From 90885475e4453246c85f87d54dd51da82b50969e Mon Sep 17 00:00:00 2001 From: Sam Chesney Date: Thu, 15 Jun 2017 14:38:57 +0100 Subject: [PATCH] Fix newline in print --- module_dfu/host/xmos_dfu_osx/xmosdfu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module_dfu/host/xmos_dfu_osx/xmosdfu.cpp b/module_dfu/host/xmos_dfu_osx/xmosdfu.cpp index 8e79df46..f7e7ad9e 100755 --- a/module_dfu/host/xmos_dfu_osx/xmosdfu.cpp +++ b/module_dfu/host/xmos_dfu_osx/xmosdfu.cpp @@ -435,7 +435,6 @@ int main(int argc, char **argv) { } else if(!listdev) { - #ifndef START_IN_DFU printf("Detaching device from application mode.\n"); xmos_dfu_resetintodfu(XMOS_DFU_IF); @@ -465,7 +464,7 @@ int main(int argc, char **argv) { switch(r) { case LIBUSB_ERROR_NOT_FOUND: - printf("The requested interface does not exist'n"); + printf("The requested interface does not exist\n"); break; case LIBUSB_ERROR_BUSY: printf("Another program or driver has claimed the interface\n");