Skip to content

Commit

Permalink
Remove dshot1200 in SPEEDYBEE F7
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoFPV committed Sep 5, 2019
1 parent ac5cf5a commit acc3198
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/drivers/dshot_bitbang_impl.h
Expand Up @@ -42,7 +42,6 @@
// XXX Trying to fiddle with constants here.

// Symbol rate [symbol/sec]
#define MOTOR_DSHOT1200_SYMBOL_RATE (1200 * 1000)
#define MOTOR_DSHOT600_SYMBOL_RATE (600 * 1000)
#define MOTOR_DSHOT300_SYMBOL_RATE (300 * 1000)
#define MOTOR_DSHOT150_SYMBOL_RATE (150 * 1000)
Expand Down
2 changes: 1 addition & 1 deletion src/main/target/SPEEDYBEEF7/config.c
Expand Up @@ -58,7 +58,7 @@ void targetConfiguration(void)
osdConfigMutable()->item_pos[OSD_MAIN_BATT_VOLTAGE] = OSD_POS(1, 12) | OSD_PROFILE_1_FLAG;
osdConfigMutable()->item_pos[OSD_ALTITUDE] = OSD_POS(1, 11) | OSD_PROFILE_1_FLAG;

motorConfigMutable()->dev.motorPwmProtocol = PWM_TYPE_DSHOT1200;
motorConfigMutable()->dev.motorPwmProtocol = PWM_TYPE_DSHOT600;
}

#endif

0 comments on commit acc3198

Please sign in to comment.