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 and Omkar Dhekne committed Mar 25, 2024
1 parent f6aad7c commit 7b34599
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 7b34599

Please sign in to comment.