summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-05 15:03:38 +0700
committerhathach <[email protected]>2014-03-05 15:03:38 +0700
commit043e5dbf3c45acd605a0e93a875ffe0b2269a8d4 (patch)
tree7c3c21fff821f90a85801aaaef6b72318ee32ca8 /demos/host/src
parent62e2a44d7165bd7337c93b8915c08ad5dd6d247f (diff)
somehow could not get printf work with IAR both SWD & uart on NGX4330
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index 8c7ff5acd..4ead7c6ba 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -158,7 +158,7 @@ int main(void)
OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para)
{
static uint32_t led_on_mask = 0;
-
+
OSAL_TASK_LOOP_BEGIN
osal_task_delay(1000);
@@ -174,7 +174,7 @@ OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para)
//--------------------------------------------------------------------+
void print_greeting(void)
{
- printf("\n\
+ puts("\n\
--------------------------------------------------------------------\n\
- Host Demo (a tinyusb example)\n\
- if you find any bugs or get any questions, feel free to file an\n\
@@ -188,5 +188,4 @@ void print_greeting(void)
if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
if (TUSB_CFG_HOST_MSC ) puts(" - Mass Storage");
if (TUSB_CFG_HOST_CDC ) puts(" - Communication Device Class");
-}
-
+} \ No newline at end of file