Skip to content

Commit

Permalink
🩹 Wrap endstop_diag.cpp (MarlinFirmware#23931)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored Mar 24, 2022
1 parent b44357d commit 0d3f79e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Marlin/src/lcd/e3v2/proui/endstop_diag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -105,4 +109,5 @@ void ESDiagClass::Update() {
DWIN_UpdateLCD();
}

#endif // DWIN_LCD_PROUI && HAS_ESDIAG
#endif // HAS_ESDIAG
#endif // DWIN_LCD_PROUI

0 comments on commit 0d3f79e

Please sign in to comment.