рабочий sbus в воздухе

This commit is contained in:
2025-11-24 19:31:25 +03:00
parent 76fa76f5b8
commit 8aab304e5f
2 changed files with 19 additions and 9 deletions

View File

@@ -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);