mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Reduced MAX_SUPPORTED_MOTORS from 12 to 8
This commit is contained in:
parent
c750918e8b
commit
554bd1257d
5 changed files with 40 additions and 11 deletions
|
@ -17,18 +17,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "drivers/io_types.h"
|
||||
#include "timer.h"
|
||||
#include "drivers/pwm_output_counts.h"
|
||||
#include "drivers/timer.h"
|
||||
|
||||
#ifndef MAX_SUPPORTED_MOTORS
|
||||
#define MAX_SUPPORTED_MOTORS 12
|
||||
#endif
|
||||
|
||||
#if defined(USE_QUAD_MIXER_ONLY)
|
||||
#define MAX_SUPPORTED_SERVOS 1
|
||||
#else
|
||||
#define MAX_SUPPORTED_SERVOS 8
|
||||
#endif
|
||||
|
||||
#define DSHOT_MAX_COMMAND 47
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue