|
@@ -89,13 +89,15 @@ namespace ExtUI {
|
89
|
89
|
// whether successful or not.
|
90
|
90
|
}
|
91
|
91
|
|
92
|
|
- void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {
|
93
|
|
- // Called when any mesh points are updated
|
94
|
|
- }
|
|
92
|
+ #if HAS_MESH
|
|
93
|
+ void onMeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {
|
|
94
|
+ // Called when any mesh points are updated
|
|
95
|
+ }
|
95
|
96
|
|
96
|
|
- void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {
|
97
|
|
- // Called to indicate a special condition
|
98
|
|
- }
|
|
97
|
+ void onMeshUpdate(const int8_t xpos, const int8_t ypos, const ExtUI::probe_state_t state) {
|
|
98
|
+ // Called to indicate a special condition
|
|
99
|
+ }
|
|
100
|
+ #endif
|
99
|
101
|
|
100
|
102
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
101
|
103
|
void onPowerLossResume() {
|