tinyusb/examples/obsolete/device/src/main.c
void os_none_start_scheduler(void)
{
  while (1)
  {
    tusb_task();
    led_blinking_task(NULL);

    msc_app_task(NULL);
    keyboard_app_task(NULL);
    mouse_app_task(NULL);
    cdc_serial_app_task(NULL);
  }
}
// like a real RTOS, this function is a main loop invoking each task in application and never return
like a real RTOS, this function is a main loop invoking each task in application and never return
like a real RTOS this function is a main loop invoking each task in application and never return
void os_none_start_scheduler(void)
{
  while (1)
  {
    tusb_task();
    led_blinking_task(NULL);
    msc_app_task(NULL);
    keyboard_app_task(NULL);
    mouse_app_task(NULL);
    cdc_serial_app_task(NULL);
  }
}
void os_none_start_scheduler ( void ) { while ( 1 ) { tusb_task ( ) ; led_blinking_task ( NULL ) ; msc_app_task ( NULL ) ; keyboard_app_task ( NULL ) ; mouse_app_task ( NULL ) ; cdc_serial_app_task ( NULL ) ; } }
like a real RTOS, this function is a main loop invoking each task in application and never return
like a real RTOS this function is a main loop invoking each task in application and never return