mirror of https://github.com/FOME-Tech/fome-fw.git
name VVT PWMs
This commit is contained in:
parent
83c3099b92
commit
ebc102aa08
|
@ -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])) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue