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(); } }