1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Stamp out use of box 39 for pinio, use 40 USER1 instead

Effects legacy targets: CLRACINGF4 CLRACINGF7
This commit is contained in:
Kyle K 2019-10-19 18:31:53 +00:00
parent 1c8d41b952
commit ead84908f4
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
void targetConfiguration(void) void targetConfiguration(void)
{ {
pinioBoxConfigMutable()->permanentId[0] = 39; pinioBoxConfigMutable()->permanentId[0] = 40;
motorConfigMutable()->dev.motorPwmProtocol = PWM_TYPE_DSHOT600; motorConfigMutable()->dev.motorPwmProtocol = PWM_TYPE_DSHOT600;
gyroConfigMutable()->gyro_sync_denom = 1; // 8kHz gyro gyroConfigMutable()->gyro_sync_denom = 1; // 8kHz gyro
pidConfigMutable()->pid_process_denom = 1; // 8kHz PID pidConfigMutable()->pid_process_denom = 1; // 8kHz PID

View file

@ -27,6 +27,6 @@
void targetConfiguration(void) void targetConfiguration(void)
{ {
pinioBoxConfigMutable()->permanentId[0] = 39; pinioBoxConfigMutable()->permanentId[0] = 40;
} }
#endif #endif