mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
Sub: prepare for reboot at the HAL rc output level
ensures that the 0s get to the hardware significantly reduces the race conditions which might allow a thread to write after values are zeroed
This commit is contained in:
committed by
Peter Barker
parent
5efdf54920
commit
8a6d5b2ef7
@@ -123,10 +123,6 @@ public:
|
||||
|
||||
Sub(void);
|
||||
|
||||
protected:
|
||||
|
||||
bool should_zero_rc_outputs_on_reboot() const override { return true; }
|
||||
|
||||
private:
|
||||
|
||||
// Global parameters are all contained within the 'g' class.
|
||||
|
||||
Reference in New Issue
Block a user