move display notification after leveling for Chiron into ExtUI hook
This commit is contained in:
@@ -2333,5 +2333,11 @@
|
||||
#endif
|
||||
}
|
||||
|
||||
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
||||
void AnycubicTouchscreenClass::LevelingDone() {
|
||||
SENDLINE_DBG_PGM("J25", "TFT Serial Debug: Auto leveling done... J25");
|
||||
}
|
||||
#endif
|
||||
|
||||
AnycubicTouchscreenClass AnycubicTouchscreen;
|
||||
#endif // ifdef ANYCUBIC_TOUCHSCREEN
|
||||
|
@@ -259,6 +259,9 @@ void KillTFT();
|
||||
#if BOTH(ANYCUBIC_TFT_DEBUG, KNUTWURST_DGUS2_TFT)
|
||||
void Command(const char * const command);
|
||||
#endif
|
||||
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
||||
void LevelingDone();
|
||||
#endif
|
||||
char TFTstate = ANYCUBIC_TFT_STATE_IDLE;
|
||||
|
||||
/**
|
||||
|
@@ -92,7 +92,12 @@ namespace ExtUI {
|
||||
|
||||
#if HAS_MESH
|
||||
void onLevelingStart() {}
|
||||
void onLevelingDone() {}
|
||||
|
||||
void onLevelingDone() {
|
||||
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
||||
AnycubicTouchscreen.LevelingDone();
|
||||
#endif
|
||||
}
|
||||
|
||||
void onMeshUpdate(const int8_t xpos, const int8_t ypos, const_float_t zval) {
|
||||
// Called when any mesh points are updated
|
||||
|
Reference in New Issue
Block a user