added kout to vault

This commit is contained in:
Simon
2025-06-01 20:06:58 +02:00
parent 83e18391b7
commit 893fc4bad9
6 changed files with 10 additions and 26 deletions

View File

@@ -37,15 +37,16 @@ void Application::action() { // NOLINT
uint16_t cnt = 0;
while (1) {
//koutlock.lock();
{
Guarded g = Guard::enter();
//g.vault();
while(text[cnt++] != '\n'){
kout << text[cnt-1];
g.vault().kout << text[cnt-1];
}
kout << endl << flush;
g.vault().kout << endl << flush;
//Guard::leave();
//koutlock.unlock();
}
activeWaitDelay(1000000000);
if(cnt >= sizeof(text)-1)
cnt=0;