AP_HAL: allow forcing of trigger_groups()

This commit is contained in:
Andy Piper 2024-06-07 10:30:02 +01:00 committed by Andrew Tridgell
parent 6ac35ce9af
commit c4ab8e25c4
1 changed files with 5 additions and 0 deletions

View File

@ -376,6 +376,11 @@ public:
*/
virtual void write_gpio(uint8_t chan, bool active) {};
/*
Force group trigger from all callers rather than just from the main thread
*/
virtual void force_trigger_groups(bool onoff) {};
/*
* calculate the prescaler required to achieve the desire bitrate
*/