removed interrupt enable/disable from critical app section

This commit is contained in:
Simon
2025-05-20 20:33:21 +02:00
parent deac8bfb8c
commit 00c6f9c943

View File

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