From dec6cca1a55b65c2329508f0ca78e86667713aeb Mon Sep 17 00:00:00 2001 From: mikeller Date: Tue, 11 Jul 2017 22:15:46 +1200 Subject: [PATCH] Update Dshot command spec to reflect recent changes. --- src/main/drivers/pwm_output.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/drivers/pwm_output.h b/src/main/drivers/pwm_output.h index 5c2b3cf7c..9dcea1edb 100644 --- a/src/main/drivers/pwm_output.h +++ b/src/main/drivers/pwm_output.h @@ -48,15 +48,15 @@ typedef enum { DSHOT_CMD_BEEP3, DSHOT_CMD_BEEP4, DSHOT_CMD_BEEP5, - DSHOT_CMD_ESC_INFO, + DSHOT_CMD_ESC_INFO, // V2 includes settings DSHOT_CMD_SPIN_DIRECTION_1, DSHOT_CMD_SPIN_DIRECTION_2, DSHOT_CMD_3D_MODE_OFF, DSHOT_CMD_3D_MODE_ON, - DSHOT_CMD_SETTINGS_REQUEST, + DSHOT_CMD_SETTINGS_REQUEST, // Currently not implemented DSHOT_CMD_SAVE_SETTINGS, - DSHOT_CMD_SPIN_DIRECTION_NORMAL = 20, //Blheli_S only command - DSHOT_CMD_SPIN_DIRECTION_REVERSED = 21, //Blheli_S only command + DSHOT_CMD_SPIN_DIRECTION_NORMAL = 20, + DSHOT_CMD_SPIN_DIRECTION_REVERSED = 21, DSHOT_CMD_MAX = 47 } dshotCommands_e;