Optimize xPortGetCoreID to 2-instruction inline assembly.

This commit is contained in:
Jeroen Domburg
2016-10-17 18:09:15 +08:00
parent bdd67c98d6
commit 0403d43b19
4 changed files with 2 additions and 21 deletions

View File

@@ -76,7 +76,6 @@ inline static void panicPutHex(int a) { }
inline static void panicPutDec(int a) { }
#endif
int xPortGetCoreID();
void __attribute__((weak)) vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName ) {
panicPutStr("***ERROR*** A stack overflow in task ");