Fix ExtUI compile (#17834)
This commit is contained in:
parent
9b7807d40f
commit
93946c2868
@ -89,6 +89,7 @@ namespace ExtUI {
|
|||||||
// whether successful or not.
|
// whether successful or not.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAS_MESH
|
||||||
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {
|
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {
|
||||||
// Called when any mesh points are updated
|
// Called when any mesh points are updated
|
||||||
}
|
}
|
||||||
@ -96,6 +97,7 @@ namespace ExtUI {
|
|||||||
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {
|
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {
|
||||||
// Called to indicate a special condition
|
// Called to indicate a special condition
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
void onPowerLossResume() {
|
void onPowerLossResume() {
|
||||||
|
@ -491,8 +491,11 @@ namespace ExtUI {
|
|||||||
void onLoadSettings(const char*) {}
|
void onLoadSettings(const char*) {}
|
||||||
void onConfigurationStoreWritten(bool) {}
|
void onConfigurationStoreWritten(bool) {}
|
||||||
void onConfigurationStoreRead(bool) {}
|
void onConfigurationStoreRead(bool) {}
|
||||||
|
|
||||||
|
#if HAS_MESH
|
||||||
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {}
|
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {}
|
||||||
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {}
|
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
void onPowerLossResume() {}
|
void onPowerLossResume() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user