fix issue where streamer cannot connect to idle device
This commit is contained in:
parent
31ab2fb132
commit
9b0682e2f3
|
@ -4,6 +4,7 @@
|
|||
#include <iostream>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
std::string data;
|
||||
|
@ -15,6 +16,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
unsigned at = 0;
|
||||
Device device(argv[1]);
|
||||
usleep(100000);
|
||||
device.put(Device::Mode::e_serial);
|
||||
|
||||
for(;;) {
|
||||
|
|
Loading…
Reference in New Issue