добавил программу для воздуха, но она пока не работает
This commit is contained in:
@@ -69,7 +69,7 @@ bool JoystickReader::readData(std::vector<uint16_t>& data) {
|
||||
|
||||
for (auto& i: data) {
|
||||
if (i < 900) i = 900;
|
||||
if (i > 1100) i = 1100;
|
||||
if (i > 2100) i = 2100;
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(updateIntervalMs));
|
||||
|
||||
Reference in New Issue
Block a user