mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-07-01 21:25:11 +00:00
update examples (#9)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user