diff options
| author | hathach <[email protected]> | 2013-12-01 12:18:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-01 12:18:26 +0700 |
| commit | d2f91af6b33e955961abfb379e6db0951506dc11 (patch) | |
| tree | 00c2b1d0214304f06b86e8e4c9b2c06cb5bbbc26 /demos/device | |
| parent | e0db04e6b4b95eae311ba11514f78fad5e5bd398 (diff) | |
add some document for msc_device API
Diffstat (limited to 'demos/device')
| -rw-r--r-- | demos/device/device_os_none/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/device/device_os_none/main.c b/demos/device/device_os_none/main.c index b611122e0..897b5f5be 100644 --- a/demos/device/device_os_none/main.c +++ b/demos/device/device_os_none/main.c @@ -118,10 +118,10 @@ int main(void) //--------------------------------------------------------------------+ OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para) { - static uint32_t led_on_mask = 0; - OSAL_TASK_LOOP_BEGIN + static uint32_t led_on_mask = 0; + osal_task_delay(1000); board_leds(led_on_mask, 1 - led_on_mask); |
