|
|
|
@ -104,7 +104,7 @@ test_passthru(uint8_t argc, const Menu::arg *argv)
@@ -104,7 +104,7 @@ test_passthru(uint8_t argc, const Menu::arg *argv)
|
|
|
|
|
delay(20); |
|
|
|
|
|
|
|
|
|
// New radio frame? (we could use also if((millis()- timer) > 20) |
|
|
|
|
if (hal.rcin->valid_channels() > 0) { |
|
|
|
|
if (hal.rcin->new_input()) { |
|
|
|
|
cliSerial->print("CH:"); |
|
|
|
|
for(int i = 0; i < 8; i++){ |
|
|
|
|
cliSerial->print(hal.rcin->read(i)); // Print channel values |
|
|
|
|