dshot: reduce static buffer size

And handle failures of up_dshot_init().

On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
This commit is contained in:
Beat Küng
2019-09-07 14:23:32 +02:00
parent e78250ab8d
commit 182efaa757
12 changed files with 91 additions and 34 deletions
@@ -336,6 +336,8 @@
#define BOARD_ENABLE_CONSOLE_BUFFER
#define BOARD_NUM_IO_TIMERS 3
__BEGIN_DECLS
#ifndef __ASSEMBLY__