Skip to content

Commit a5a7872

Browse files
committed
Revert "ETS_INTR_ENABLED & ETS_INT_PENDING as inline"
This reverts commit 9560c67.
1 parent 7647df1 commit a5a7872

File tree

1 file changed

+0
-2
lines changed
  • hardware/esp8266com/esp8266/tools/sdk/include

1 file changed

+0
-2
lines changed

hardware/esp8266com/esp8266/tools/sdk/include/ets_sys.h

-2
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,12 @@ typedef void (*int_handler_t)(void*);
7373
#define ETS_INTR_DISABLE(inum) \
7474
ets_isr_mask((1<<inum))
7575

76-
inline uint32_t ETS_INTR_ENABLED(void)
7776
{
7877
uint32_t enabled;
7978
__asm__ __volatile__("esync; rsr %0,intenable":"=a" (enabled));
8079
return enabled;
8180
}
8281

83-
inline uint32_t ETS_INTR_PENDING(void)
8482
{
8583
uint32_t pending;
8684
__asm__ __volatile__("esync; rsr %0,interrupt":"=a" (pending));

0 commit comments

Comments
 (0)