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

Merge pull request #14798 from bergzand/pr/core/sched_no_mpu_enable

sched: Remove extra mpu_enable during context switch
This commit is contained in:
benpicco 2020-08-20 00:10:01 +02:00 committed by GitHub
commit 593568ca21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");