update examples (#9)

This commit is contained in:
tompzf
2026-04-07 09:11:36 +02:00
committed by GitHub
parent 07cf4f654b
commit 511c1dda51
16 changed files with 112 additions and 116 deletions

View File

@@ -57,11 +57,11 @@ extern "C" int main()
//run for 10 seconds - in that time task timer callbacks in the module get triggered
uint32_t counter = 10;
std::chrono::seconds sleepDurtaion (1);
std::chrono::seconds sleepDuration (1);
while (counter-- > 0)
{
std::cout << "counter: " << std::to_string(counter) << std::endl;
std::this_thread::sleep_for(sleepDurtaion);
std::this_thread::sleep_for(sleepDuration);
}
appcontrol.Shutdown();