修改recy模式

This commit is contained in:
RB 2025-03-18 17:56:31 +08:00
parent 6d581c4c04
commit 695262bcd1
3 changed files with 5705 additions and 5715 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -222,10 +222,11 @@ int8_t Shoot_Control(Shoot_t *s, CMD_ShootCmd_t *s_cmd,
} }
break; break;
} }
case FIRE_MODE_CONT: { /* 持续开火模式 */ case FIRE_MODE_CONT: { /* Recy模式 */
float shoot_freq = HeatLimit_ShootFreq( // float shoot_freq = HeatLimit_ShootFreq(
s->heat_ctrl.heat, s->heat_ctrl.heat_limit, s->heat_ctrl.cooling_rate, // s->heat_ctrl.heat, s->heat_ctrl.heat_limit, s->heat_ctrl.cooling_rate,
s->heat_ctrl.heat_increase, s->param->model == SHOOT_MODEL_17MM); // s->heat_ctrl.heat_increase, s->param->model == SHOOT_MODEL_17MM);
float shoot_freq = 20.0f; //射频
s->fire_ctrl.period_ms = s->fire_ctrl.period_ms =
(shoot_freq == 0.0f) ? UINT32_MAX : (uint32_t)(1000.f / shoot_freq); (shoot_freq == 0.0f) ? UINT32_MAX : (uint32_t)(1000.f / shoot_freq);
break; break;