application: Remove commented rt_kprintf statements

This commit is contained in:
Raman Gopalan 2023-10-17 10:46:00 +05:30 committed by Meco Man
parent 46e161e236
commit 33fe6b320d
1 changed files with 0 additions and 8 deletions

View File

@ -18,13 +18,9 @@ static void rt_thread_entry_led1(void* parameter)
{ {
while (1) while (1)
{ {
/* led on */
//rt_kprintf("LED1 on\r\n");
gpio_tgl_gpio_pin(AVR32_PIN_PA08); gpio_tgl_gpio_pin(AVR32_PIN_PA08);
rt_thread_delay(RT_TICK_PER_SECOND / 2); /* sleep 0.5 second and switch to other thread */ rt_thread_delay(RT_TICK_PER_SECOND / 2); /* sleep 0.5 second and switch to other thread */
/* led off */
//rt_kprintf("LED1 off\r\n");
gpio_tgl_gpio_pin(AVR32_PIN_PA08); gpio_tgl_gpio_pin(AVR32_PIN_PA08);
rt_thread_delay(RT_TICK_PER_SECOND / 2); rt_thread_delay(RT_TICK_PER_SECOND / 2);
} }
@ -36,13 +32,9 @@ void rt_thread_entry_led2(void* parameter)
{ {
while (1) while (1)
{ {
/* led on */
//rt_kprintf("LED2 on");
gpio_tgl_gpio_pin(AVR32_PIN_PA07); gpio_tgl_gpio_pin(AVR32_PIN_PA07);
rt_thread_delay(RT_TICK_PER_SECOND); rt_thread_delay(RT_TICK_PER_SECOND);
/* led off */
//rt_kprintf("LED2 off\r\n");
gpio_tgl_gpio_pin(AVR32_PIN_PA07); gpio_tgl_gpio_pin(AVR32_PIN_PA07);
rt_thread_delay(RT_TICK_PER_SECOND); rt_thread_delay(RT_TICK_PER_SECOND);
} }