Clean up PendSV/SV ISR
This commit is contained in:
parent
ddd88dbe59
commit
e95a93bdd9
2 changed files with 39 additions and 71 deletions
|
|
@ -108,7 +108,7 @@ typedef unsigned int INT32U;
|
|||
#define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
|
||||
|
||||
/* Scheduler utilities. */
|
||||
extern void PendSV(char req);
|
||||
extern void PendSV(char);
|
||||
//#define portYIELD() vPortYield()
|
||||
#define portYIELD() PendSV(1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue