From 50195ec990ffc749a4eec2ee1eb6400aa7701298 Mon Sep 17 00:00:00 2001
From: ellensp <ellensp@hotmail.com>
Date: Sun, 2 May 2021 12:42:38 +1200
Subject: [PATCH] Add missing ExtUI method (#21763)

Fixes #21761
---
 Marlin/src/lcd/extui/anycubic_i3mega_lcd.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Marlin/src/lcd/extui/anycubic_i3mega_lcd.cpp b/Marlin/src/lcd/extui/anycubic_i3mega_lcd.cpp
index fb66d1f68ef..9055e7b430d 100644
--- a/Marlin/src/lcd/extui/anycubic_i3mega_lcd.cpp
+++ b/Marlin/src/lcd/extui/anycubic_i3mega_lcd.cpp
@@ -100,6 +100,10 @@ namespace ExtUI {
     void onMeshUpdate(const int8_t xpos, const int8_t ypos, const_float_t zval) {
       // Called when any mesh points are updated
     }
+
+    void onMeshUpdate(const int8_t xpos, const int8_t ypos, probe_state_t state) {
+      // Called when any mesh points are updated
+    }
   #endif
 
   #if ENABLED(POWER_LOSS_RECOVERY)