mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Remove dshot1200 in SPEEDYBEE F7
This commit is contained in:
parent
ac5cf5a417
commit
acc3198ada
2 changed files with 1 additions and 2 deletions
|
@ -42,7 +42,6 @@
|
||||||
// XXX Trying to fiddle with constants here.
|
// XXX Trying to fiddle with constants here.
|
||||||
|
|
||||||
// Symbol rate [symbol/sec]
|
// Symbol rate [symbol/sec]
|
||||||
#define MOTOR_DSHOT1200_SYMBOL_RATE (1200 * 1000)
|
|
||||||
#define MOTOR_DSHOT600_SYMBOL_RATE (600 * 1000)
|
#define MOTOR_DSHOT600_SYMBOL_RATE (600 * 1000)
|
||||||
#define MOTOR_DSHOT300_SYMBOL_RATE (300 * 1000)
|
#define MOTOR_DSHOT300_SYMBOL_RATE (300 * 1000)
|
||||||
#define MOTOR_DSHOT150_SYMBOL_RATE (150 * 1000)
|
#define MOTOR_DSHOT150_SYMBOL_RATE (150 * 1000)
|
||||||
|
|
|
@ -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_MAIN_BATT_VOLTAGE] = OSD_POS(1, 12) | OSD_PROFILE_1_FLAG;
|
||||||
osdConfigMutable()->item_pos[OSD_ALTITUDE] = OSD_POS(1, 11) | 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
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue