default getModehelper for ControllerBase
This commit is contained in:
parent
f5adcd0625
commit
1dfb3323f7
@ -99,6 +99,10 @@ ReturnValue_t ControllerBase::performOperation(uint8_t opCode) {
|
||||
return RETURN_OK;
|
||||
}
|
||||
|
||||
const ModeHelper * ControllerBase::getModeHelper() const {
|
||||
return &modeHelper;
|
||||
}
|
||||
|
||||
void ControllerBase::modeChanged(Mode_t mode, Submode_t submode) { return; }
|
||||
|
||||
ReturnValue_t ControllerBase::setHealth(HealthState health) {
|
||||
|
@ -40,6 +40,9 @@ class ControllerBase : public HasModesIF,
|
||||
virtual void setTaskIF(PeriodicTaskIF *task) override;
|
||||
virtual ReturnValue_t initializeAfterTaskCreation() override;
|
||||
|
||||
/** HasModeIF override */
|
||||
const ModeHelper * getModeHelper() const override;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Implemented by child class. Handle command messages which are not
|
||||
|
Loading…
Reference in New Issue
Block a user