[DM/FIXUP] Fixup PIC ktime depends

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI 2024-12-11 17:42:34 +08:00 committed by Rbb666
parent ab4c622138
commit ec4f375bbc
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ menuconfig RT_USING_PIC
config RT_USING_PIC_STATISTICS
bool "Enable ISR execution time statistics"
depends on RT_USING_PIC
depends on RT_USING_KTIME
depends on RT_USING_INTERRUPT_INFO
default n

View File

@ -16,7 +16,9 @@
#include <rtdbg.h>
#include <drivers/pic.h>
#ifdef RT_USING_PIC_STATISTICS
#include <ktime.h>
#endif
struct irq_traps
{