mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 04:50:24 +08:00
[DM/FIXUP] Fixup PIC ktime depends
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
parent
ab4c622138
commit
ec4f375bbc
@ -8,6 +8,7 @@ menuconfig RT_USING_PIC
|
|||||||
config RT_USING_PIC_STATISTICS
|
config RT_USING_PIC_STATISTICS
|
||||||
bool "Enable ISR execution time statistics"
|
bool "Enable ISR execution time statistics"
|
||||||
depends on RT_USING_PIC
|
depends on RT_USING_PIC
|
||||||
|
depends on RT_USING_KTIME
|
||||||
depends on RT_USING_INTERRUPT_INFO
|
depends on RT_USING_INTERRUPT_INFO
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
@ -16,7 +16,9 @@
|
|||||||
#include <rtdbg.h>
|
#include <rtdbg.h>
|
||||||
|
|
||||||
#include <drivers/pic.h>
|
#include <drivers/pic.h>
|
||||||
|
#ifdef RT_USING_PIC_STATISTICS
|
||||||
#include <ktime.h>
|
#include <ktime.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct irq_traps
|
struct irq_traps
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user