Fix PORT_INFO define for non-SMP mode

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14193 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
cinsights 2021-04-15 13:46:49 +00:00
parent 6548dd4a56
commit 92e8aeb73c
1 changed files with 3 additions and 0 deletions

View File

@ -267,9 +267,12 @@
#define PORT_INFO "Preemption through PendSV (SMP)" #define PORT_INFO "Preemption through PendSV (SMP)"
#endif #endif
#else #else
#if (CORTEX_ALTERNATE_SWITCH == FALSE) || defined(__DOXYGEN__)
#define PORT_INFO "Preemption through NMI" #define PORT_INFO "Preemption through NMI"
#else
#define PORT_INFO "Preemption through PendSV" #define PORT_INFO "Preemption through PendSV"
#endif #endif
#endif
/** @} */ /** @} */
/** /**