Skip to content

Commit d288af8

Browse files
committed
Try adding a sleep before playing
Are we playing too early?
1 parent 8eb7637 commit d288af8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/dashboard_example.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include <iostream>
3737
#include <memory>
3838
#include <thread>
39+
#include <unistd.h>
3940

4041
using namespace urcl;
4142

@@ -96,6 +97,8 @@ int main(int argc, char* argv[])
9697
return 1;
9798
}
9899

100+
sleep(1);
101+
99102
// Play loaded program
100103
if (!my_dashboard->commandPlay())
101104
{

0 commit comments

Comments
 (0)