Skip to content

Commit

Permalink
Try adding a sleep before playing
Browse files Browse the repository at this point in the history
Are we playing too early?
  • Loading branch information
urfeex committed Nov 13, 2024
1 parent 8eb7637 commit d288af8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/dashboard_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <iostream>
#include <memory>
#include <thread>
#include <unistd.h>

using namespace urcl;

Expand Down Expand Up @@ -96,6 +97,8 @@ int main(int argc, char* argv[])
return 1;
}

sleep(1);

// Play loaded program
if (!my_dashboard->commandPlay())
{
Expand Down

0 comments on commit d288af8

Please sign in to comment.