Skip to content

Commit

Permalink
[DM/FIXUP] Fixup PIC ktime depends
Browse files Browse the repository at this point in the history
Signed-off-by: GuEe-GUI <[email protected]>
  • Loading branch information
GuEe-GUI committed Dec 12, 2024
1 parent 88aaa35 commit da8dc3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/drivers/pic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions components/drivers/pic/pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
#include <rtdbg.h>

#include <drivers/pic.h>
#ifdef RT_USING_PIC_STATISTICS
#include <ktime.h>
#endif

struct irq_traps
{
Expand Down

0 comments on commit da8dc3b

Please sign in to comment.