Open danielkucera opened 2 years ago
I've changed it to this and it works:
virtual void clearChanged(const navNode &nav,const menuOut& out,bool sub) {
dirty = false;
t=millis()/1000;
if (last!=t) {
dirty = true;
}
}
Is that a correct way?
i have this problem
CustomPrompt:40:16: error: conflicting return type specified for 'virtual bool altPrompt::clearChanged(const Menu::navNode&, const Menu::menuOut&, bool)' virtual bool clearChanged(const navNode &nav,const menuOut& out,bool sub=true) {
a pull request would be very welcomed :D
The example says:
but it is not updating, It still shows
0
Looks like the functionchanged
is not called: https://github.com/neu-rah/ArduinoMenu/blob/master/examples/CustomPrompt/CustomPrompt/CustomPrompt.ino#L40Am I missing something?