From 709ef510d37f7f15c630b8620da4153baa673bb9 Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Tue, 26 May 2026 22:23:33 +0800 Subject: [PATCH] Omit checkra1n hook logging in release build to match linux --- src/helper/phookra1n.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/helper/phookra1n.h b/src/helper/phookra1n.h index 02ced22..3d343f4 100644 --- a/src/helper/phookra1n.h +++ b/src/helper/phookra1n.h @@ -4,7 +4,11 @@ #include #include +#ifdef DEV_BUILD #define dprintf(...) printf(__VA_ARGS__) +#else +#define dprintf(...) +#endif extern uint8_t t7000_bin[]; extern uint32_t t7000_bin_len;