🩹 Wrap endstop_diag.cpp (#23931)

This commit is contained in:
ellensp 2022-03-25 12:06:28 +13:00 committed by GitHub
parent b44357db9d
commit 0d3f79e6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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