foo
This commit is contained in:
@@ -25,7 +25,8 @@ void activeWaitDelay(uint64_t cycles) {
|
||||
uint64_t counter = 0; // Use volatile to prevent optimization
|
||||
for (uint64_t i = 0; i < cycles; ++i) {
|
||||
counter++; // Simple operation to consume cycles
|
||||
asm("nop");
|
||||
//asm("nop");
|
||||
Core::pause();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +40,7 @@ void Application::action() { // NOLINT
|
||||
}
|
||||
kout << endl << flush;
|
||||
|
||||
activeWaitDelay(1000000000);
|
||||
activeWaitDelay(10000000);
|
||||
if(cnt >= sizeof(text)-1)
|
||||
cnt=0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user