name VVT PWMs

This commit is contained in:
Matthew Kennedy 2024-08-13 14:36:51 -07:00
parent 83c3099b92
commit ebc102aa08
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ static const char *vvtOutputNames[CAM_INPUTS_COUNT] = {
};
static OutputPin vvtPins[CAM_INPUTS_COUNT];
static SimplePwm vvtPwms[CAM_INPUTS_COUNT];
static SimplePwm vvtPwms[CAM_INPUTS_COUNT] = { "VVT1", "VVT2", "VVT3", "VVT4" };
static void turnVvtPidOn(int index) {
if (!isBrainPinValid(engineConfiguration->vvtPins[index])) {

View File

@ -114,7 +114,7 @@ struct IPwm {
class SimplePwm : public PwmConfig, public IPwm {
public:
SimplePwm();
explicit SimplePwm(const char *name);
SimplePwm(const char *name);
void setSimplePwmDutyCycle(float dutyCycle) override;
MultiChannelStateSequenceWithData<2> seq;
hardware_pwm* hardPwm = nullptr;