platform: arduno: mqtt: fix mqtt build
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@ -37,8 +37,8 @@ struct Variant {
|
||||
CRGB asRGB() const;
|
||||
int asInt() const;
|
||||
bool asBool() const;
|
||||
template<typename T> T* as() const {
|
||||
return (T*)m_value.asPointer;
|
||||
template<typename T> const T& as() const {
|
||||
return *static_cast<const T*>(m_value.asPointer);
|
||||
}
|
||||
|
||||
private:
|
||||
@ -183,6 +183,8 @@ class ConfigTaskMixin : public virtual Loopable {
|
||||
}
|
||||
}
|
||||
|
||||
void loop() override {}
|
||||
|
||||
virtual void handleConfigChange(const InputEvent& evt) {}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user