4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-26 19:27:21 +08:00

14 lines
265 B
C
Raw Normal View History

#include "rtthread.h"
2024-07-12 15:44:59 +08:00
#ifdef RT_CHERRYUSB_HOST
#ifndef RT_USING_TIMER_SOFT
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
#endif
#if RT_TIMER_THREAD_STACK_SIZE < 2048
#error "RT_TIMER_THREAD_STACK_SIZE must be >= 2048"
#endif
#endif