Skip to content

Commit

Permalink
change deplay's
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh L. Halytskyi committed Nov 9, 2020
1 parent 4ba31aa commit cde97ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/pjon_grpc_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,17 +208,17 @@ void grpc_client(std::string grpc_server_ip) {
std::cout << "gRPC server answer: " << reply << std::endl;
if (reply == "done")
receives_queue.pop();
delayMicroseconds(100000);
delay(100); // 0.1 second
}
}
delayMicroseconds(100000);
delay(100); // 0.1 second
}
}

void listen_on_bus() {
while(true) {
bus.receive();
delay(1);
delay(3); // 0.003 second
}
}

Expand Down

0 comments on commit cde97ec

Please sign in to comment.