diff options
| author | hathach <[email protected]> | 2014-03-05 15:03:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-05 15:03:38 +0700 |
| commit | 043e5dbf3c45acd605a0e93a875ffe0b2269a8d4 (patch) | |
| tree | 7c3c21fff821f90a85801aaaef6b72318ee32ca8 /demos/host/src | |
| parent | 62e2a44d7165bd7337c93b8915c08ad5dd6d247f (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.c | 7 |
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 |
