1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Fix for AFROMINI failing build in Travis CI

This commit is contained in:
Bas Delfos 2016-11-10 23:54:23 +01:00
parent 9fe84c0ff2
commit 2e925de36f
2 changed files with 8 additions and 2 deletions

View file

@ -52,8 +52,10 @@ typedef enum {
#define PWM_BRUSHED_TIMER_MHZ 24
#endif
#ifdef USE_DSHOT
#if defined(USE_DSHOT)
#define MAX_DSHOT_MOTORS 4
#else
#define MAX_DSHOT_MOTORS 0
#endif
#define MOTOR_DMA_BUFFER_SIZE 18 /* resolution + frame reset (2us) */