diff options
Diffstat (limited to 'os/ports/GCC')
-rw-r--r-- | os/ports/GCC/ARMCM3/chcore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c index 8c421867c..47480217d 100644 --- a/os/ports/GCC/ARMCM3/chcore.c +++ b/os/ports/GCC/ARMCM3/chcore.c @@ -88,6 +88,8 @@ void SVCallVector(Thread *otp, Thread *ntp) { /* pop the registers from the PSP stack */
/* set the PSP from r12 */
/* set the BASEPRI from R3 */
+ (void)otp;
+ (void)ntp;
#ifdef CH_CURRP_REGISTER_CACHE
asm volatile ("mrs r3, BASEPRI \n\t" \
"mrs r12, PSP \n\t" \
|