From 6d51e481dc75b2fae58cd9c6e454dc1155c24833 Mon Sep 17 00:00:00 2001 From: blckmn Date: Sun, 8 Jan 2017 09:59:21 +1100 Subject: [PATCH] Re-enabling CLI option for 900 and 1200 --- src/main/drivers/pwm_output.h | 2 +- src/main/fc/serial_cli.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/pwm_output.h b/src/main/drivers/pwm_output.h index 8cc04e7b28..24be38f957 100644 --- a/src/main/drivers/pwm_output.h +++ b/src/main/drivers/pwm_output.h @@ -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 diff --git a/src/main/fc/serial_cli.c b/src/main/fc/serial_cli.c index 792117a791..1f12836354 100755 --- a/src/main/fc/serial_cli.c +++ b/src/main/fc/serial_cli.c @@ -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 };