Clean up PendSV/SV ISR

This commit is contained in:
Angus Gratton 2015-05-07 13:48:56 +10:00
parent ddd88dbe59
commit e95a93bdd9
2 changed files with 39 additions and 71 deletions

View file

@ -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)