🩹 Wrap endstop_diag.cpp (#23931)

This commit is contained in:
ellensp 2022-03-25 12:06:28 +13:00 committed by Scott Lahteine
parent 2ee4a667e1
commit 1c89c0470f

View file

@ -21,15 +21,19 @@
*/
/**
* DWIN End Stops diagnostic page for PRO UI
* DWIN Endstops diagnostic page for PRO UI
* Author: Miguel A. Risco-Castillo (MRISCOC)
* Version: 1.2.2
* Date: 2022/02/24
*/
#include "../../../inc/MarlinConfigPre.h"
#if ENABLED(DWIN_LCD_PROUI)
#include "dwin_defines.h"
#if BOTH(DWIN_LCD_PROUI, HAS_ESDIAG)
#if HAS_ESDIAG
#include "endstop_diag.h"
@ -105,4 +109,5 @@ void ESDiagClass::Update() {
DWIN_UpdateLCD();
}
#endif // DWIN_LCD_PROUI && HAS_ESDIAG
#endif // HAS_ESDIAG
#endif // DWIN_LCD_PROUI