one step back

This commit is contained in:
rusefi 2018-12-23 02:44:41 -05:00
parent a5b1bf6b8d
commit 852852b19f
1 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,9 @@
class DcMotor
{
public:
virtual void Set(float duty) = 0;
/* unit tests rusefi_test.exe crash with this, why?
virtual void Set(float duty) = 0;
*/
};
class TwoPinDcMotor : public DcMotor
@ -21,5 +23,12 @@ private:
public:
TwoPinDcMotor(SimplePwm* pwm, OutputPin* dir1, OutputPin* dir2);
virtual void Set(float duty) override;
/* unit tests rusefi_test.exe crash with this, why?
virtual
*/
void Set(float duty)
/* unit tests rusefi_test.exe crash with this, why?
override
*/
;
};