MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / _timer_tick

Method _timer_tick

libraries/AP_HAL_Linux/RCInput_Multi.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void RCInput_Multi::_timer_tick(void)
56{
57 for (uint8_t i=0; i<num_inputs; i++) {
58 inputs[i]->_timer_tick();
59 if (inputs[i]->new_input()) {
60 inputs[i]->read(_pwm_values, inputs[i]->num_channels());
61 _num_channels = inputs[i]->num_channels();
62 rc_input_count++;
63 }
64 }
65}
66
67#endif // CONFIG_HAL_BOARD_SUBTYPE
68

Callers

nothing calls this directly

Calls 3

new_inputMethod · 0.45
readMethod · 0.45
num_channelsMethod · 0.45

Tested by

no test coverage detected