Fix ExtUI onMeshUpdate event (#15477)
This commit is contained in:
parent
56595a4c9c
commit
71526fa5ce
@ -819,9 +819,6 @@ namespace ExtUI {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval) {
|
|
||||||
UNUSED(xpos); UNUSED(ypos); UNUSED(zval);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ namespace ExtUI {
|
|||||||
float getMeshPoint(const xy_uint8_t &pos);
|
float getMeshPoint(const xy_uint8_t &pos);
|
||||||
void setMeshPoint(const xy_uint8_t &pos, const float zval);
|
void setMeshPoint(const xy_uint8_t &pos, const float zval);
|
||||||
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval);
|
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval);
|
||||||
inline void onMeshUpdate(const xy_uint8_t &pos, const float zval) { setMeshPoint(pos, zval); }
|
inline void onMeshUpdate(const xy_uint8_t &pos, const float zval) { onMeshUpdate(pos.x, pos.y, zval); }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -88,6 +88,10 @@ namespace ExtUI {
|
|||||||
// This is called after the entire EEPROM has been read,
|
// This is called after the entire EEPROM has been read,
|
||||||
// whether successful or not.
|
// whether successful or not.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval) {
|
||||||
|
// This is called when any mesh points are updated
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // EXTUI_EXAMPLE && EXTENSIBLE_UI
|
#endif // EXTUI_EXAMPLE && EXTENSIBLE_UI
|
||||||
|
Loading…
Reference in New Issue
Block a user