рабочий sbus в воздухе
This commit is contained in:
@@ -27,8 +27,8 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
JoystickReader reader;
|
||||
const int64_t timeInterval = 1000 / frequency;
|
||||
while (!reader.initialize()) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
if (!reader.initialize()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
UDPSocket udp(sendAddress, 1066);
|
||||
|
||||
Reference in New Issue
Block a user