From 00c6f9c943176756ce155713fdc46d89fa8a0781 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 20 May 2025 20:33:21 +0200 Subject: [PATCH] removed interrupt enable/disable from critical app section --- user/app1/appl.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/user/app1/appl.cc b/user/app1/appl.cc index 17cb12a..4ce24b5 100644 --- a/user/app1/appl.cc +++ b/user/app1/appl.cc @@ -34,7 +34,6 @@ void activeWaitDelay(uint64_t cycles) { void Application::action() { // NOLINT uint16_t cnt = 0; while (1) { - Core::Interrupt::disable(); koutlock.lock(); while(text[cnt++] != '\n'){ kout << text[cnt-1]; @@ -46,6 +45,5 @@ void Application::action() { // NOLINT if(cnt >= sizeof(text)-1) cnt=0; - Core::Interrupt::enable(); } }