Merge pull request #2045 from blckmn/dshot900

Re-enabling CLI option for 900 and 1200
This commit is contained in:
J Blackman 2017-01-08 09:59:45 +11:00 committed by GitHub
commit ab6f28e601
2 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ typedef enum {
PWM_TYPE_DSHOT600,
PWM_TYPE_DSHOT300,
PWM_TYPE_DSHOT150,
PWM_TYPE_MAX,
PWM_TYPE_DSHOT900,
PWM_TYPE_DSHOT1200,
PWM_TYPE_MAX
} motorPwmProtocolTypes_e;
#define PWM_TIMER_MHZ 1

View File

@ -334,7 +334,7 @@ static const char * const lookupTableSuperExpoYaw[] = {
static const char * const lookupTablePwmProtocol[] = {
"OFF", "ONESHOT125", "ONESHOT42", "MULTISHOT", "BRUSHED",
#ifdef USE_DSHOT
"DSHOT600", "DSHOT300", "DSHOT150", /*"DSHOT900", "DSHOT1200",*/
"DSHOT600", "DSHOT300", "DSHOT150", "DSHOT900", "DSHOT1200",
#endif
};