mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-02 19:53:57 -04:00
AP_HAL: make cork() mandatory in RCOutput
This commit is contained in:
parent
0640b6539c
commit
e356797888
@ -52,20 +52,14 @@ public:
|
||||
* Delay subsequent calls to write() going to the underlying hardware in
|
||||
* order to group related writes together. When all the needed writes are
|
||||
* done, call push() to commit the changes.
|
||||
*
|
||||
* This method is optional: if the subclass doesn't implement it all calls
|
||||
* to write() are synchronous.
|
||||
*/
|
||||
virtual void cork() { }
|
||||
virtual void cork() = 0;
|
||||
|
||||
/*
|
||||
* Push pending changes to the underlying hardware. All changes between a
|
||||
* call to cork() and push() are pushed together in a single transaction.
|
||||
*
|
||||
* This method is optional: if the subclass doesn't implement it all calls
|
||||
* to write() are synchronous.
|
||||
*/
|
||||
virtual void push() { }
|
||||
virtual void push() = 0;
|
||||
|
||||
/* Read back current output state, as either single channel or
|
||||
* array of channels. On boards that have a separate IO controller,
|
||||
|
Loading…
Reference in New Issue
Block a user