Skip to content

Commit 72060a2

Browse files
committed
Swap PRINT_DEPENDENCIES to Wippersnapper.h + print on boot
1 parent 1486719 commit 72060a2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/Wippersnapper.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,6 +2735,11 @@ void printDeviceInfo() {
27352735
WS_DEBUG_PRINT("ESP32 CPU1 RESET REASON: ");
27362736
print_reset_reason(1);
27372737
#endif
2738+
2739+
#if defined(PRINT_DEPENDENCIES)
2740+
WS_DEBUG_PRINTLN("-------Dependencies-------");
2741+
WS_DEBUG_PRINTLN(project_dependencies);
2742+
#endif
27382743
}
27392744

27402745
/**************************************************************************/

src/Wippersnapper.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@
127127
#include "display/ws_display_ui_helper.h"
128128
#endif
129129

130+
// Build dependencies
131+
#if defined(PRINT_DEPENDENCIES)
132+
#include "../print_dependencies.h"
133+
#endif
134+
130135
#include "components/ds18x20/ws_ds18x20.h"
131136
#include "components/pixels/ws_pixels.h"
132137
#include "components/pwm/ws_pwm.h"

src/provisioning/tinyusb/Wippersnapper_FS.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
#include "fatfs/ff.h" // NOTE: This should be #included before fatfs/diskio.h!!!
2323
#include "fatfs/diskio.h"
2424

25-
#if defined(PRINT_DEPENDENCIES)
26-
#include "../../../print_dependencies.h"
27-
#endif
28-
2925
#include "Wippersnapper.h"
3026

3127
// forward decl.

0 commit comments

Comments
 (0)