summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-01 17:12:31 +0700
committerhathach <[email protected]>2020-09-01 17:12:31 +0700
commitf4e3c6fd8ee125123e2cfa704d61dab34be576c5 (patch)
tree46750981f4086acade240fac29346a259905fe10 /examples
parentbe708bb8a444a6e8f8676be842fcfd02a583ed0b (diff)
clean up
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c
index 273c95c77..9ec213090 100644
--- a/examples/host/cdc_msc_hid/src/main.c
+++ b/examples/host/cdc_msc_hid/src/main.c
@@ -75,7 +75,7 @@ CFG_TUSB_MEM_SECTION static char serial_in_buffer[64] = { 0 };
void tuh_mount_cb(uint8_t dev_addr)
{
// application set-up
- printf("\na device with address %d is mounted\n", dev_addr);
+ printf("A device with address %d is mounted\r\n", dev_addr);
tuh_cdc_receive(dev_addr, serial_in_buffer, sizeof(serial_in_buffer), true); // schedule first transfer
}
@@ -83,7 +83,7 @@ void tuh_mount_cb(uint8_t dev_addr)
void tuh_umount_cb(uint8_t dev_addr)
{
// application tear-down
- printf("\na device with address %d is unmounted \n", dev_addr);
+ printf("A device with address %d is unmounted \r\n", dev_addr);
}
// invoked ISR context
@@ -187,14 +187,14 @@ void print_greeting(void)
[OPT_OS_FREERTOS] = "FreeRTOS",
};
- printf("\n--------------------------------------------------------------------\n");
- printf("- Host example\n");
- printf("- if you find any bugs or get any questions, feel free to file an\n");
- printf("- issue at https://github.com/hathach/tinyusb\n");
- printf("--------------------------------------------------------------------\n\n");
+ printf("--------------------------------------------------------------------\r\n");
+ printf("- Host example\r\n");
+ printf("- if you find any bugs or get any questions, feel free to file an\r\n");
+ printf("- issue at https://github.com/hathach/tinyusb\r\n");
+ printf("--------------------------------------------------------------------\r\n\r\n");
printf("This Host demo is configured to support:\r\n");
- printf(" - RTOS = %s\n", rtos_name[CFG_TUSB_OS]);
+ printf(" - RTOS = %s\r\n", rtos_name[CFG_TUSB_OS]);
#if CFG_TUH_CDC
printf(" - Communication Device Class\r\n");