1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sched: Remove extra mpu_enable during context switch

This commit is contained in:
Koen Zandberg 2020-08-19 20:13:28 +02:00
parent 7f359612e9
commit e6fd3630eb
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -155,8 +155,6 @@ int __attribute__((used)) sched_run(void)
(uintptr_t)sched_active_thread->stack_start + 31, /* Base Address (rounded up) */
MPU_ATTR(1, AP_RO_RO, 0, 1, 0, 1, MPU_SIZE_32B) /* Attributes and Size */
);
mpu_enable();
#endif
DEBUG("sched_run: done, changed sched_active_thread.\n");