mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added pulse_input_enable() API
this allows disabling pulse input at runtime to lower CPU load on IOMCU when decoding via a UART
This commit is contained in:
parent
ae9e8c3dbc
commit
3105c6a050
|
@ -49,4 +49,8 @@ public:
|
|||
|
||||
/* execute receiver bind */
|
||||
virtual bool rc_bind(int dsmMode) { return false; }
|
||||
|
||||
/* enable or disable pulse input for RC input. This is used to
|
||||
reduce load when we are decoding R/C via a UART */
|
||||
virtual void pulse_input_enable(bool enable) { }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue