AP_HAL: add set_dshot_rate()

This commit is contained in:
Andy Piper 2021-03-02 22:17:19 +00:00 committed by Andrew Tridgell
parent 749d4c997b
commit f29dba2ddd
1 changed files with 5 additions and 0 deletions

View File

@ -211,6 +211,11 @@ public:
*/
virtual void set_bidir_dshot_mask(uint16_t mask) {}
/*
Set the dshot rate as a multiple of the loop rate
*/
virtual void set_dshot_rate(uint8_t dshot_rate, uint16_t loop_rate_hz) {}
/*
setup serial led output for a given channel number, with
the given max number of LEDs in the chain.