diff options
Diffstat (limited to 'bsp/nv32f100x/app')
| -rw-r--r-- | bsp/nv32f100x/app/src/ledapp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bsp/nv32f100x/app/src/ledapp.c b/bsp/nv32f100x/app/src/ledapp.c index 71009b1af0..129b906a96 100644 --- a/bsp/nv32f100x/app/src/ledapp.c +++ b/bsp/nv32f100x/app/src/ledapp.c @@ -7,7 +7,7 @@ * Date Author Notes * 2017-09-19 Quintin.Z the first version */ - + #include <stdio.h> #include <rthw.h> #include <rtdevice.h> @@ -21,11 +21,11 @@ void led_thread_entry(void* parameter) { GPIO_Init (GPIOA, GPIO_PTB5_MASK, GPIO_PinOutput); - - while(1) - { + + while(1) + { GPIO_Toggle (GPIOA, GPIO_PTB5_MASK); rt_thread_delay(RT_TICK_PER_SECOND / 10); - } + } } |
