Skip to content

Commit 8ba054c

Browse files
John DoeJohn Doe
John Doe
authored and
John Doe
committed
readd wrongly deleted definition
1 parent 3b8fea8 commit 8ba054c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/sdk/include/ets_sys.h

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ inline uint32_t ETS_INTR_PENDING(void)
8888
#define ETS_FRC_TIMER1_INTR_ATTACH(func, arg) \
8989
ets_isr_attach(ETS_FRC_TIMER1_INUM, (int_handler_t)(func), (void *)(arg))
9090

91+
#define ETS_FRC_TIMER1_NMI_INTR_ATTACH(func) \
92+
NmiTimSetFunc(func)
93+
9194
#define ETS_FRC1_INTR_ENABLE() \
9295
ETS_INTR_ENABLE(ETS_FRC_TIMER1_INUM)
9396

0 commit comments

Comments
 (0)