Remove NDEBUG guard on cycle counter functions

This commit is contained in:
Isaac Aronson 2025-03-31 13:11:02 -05:00
parent 692f7968fc
commit 74e84da571
No known key found for this signature in database

View File

@ -131,7 +131,7 @@
#define FEATURE_FLAG_ASSERT(flag, id) STATIC_ASSERT(flag > TEMP_FLAGS_END || flag == 0, id)
#if !(defined (NDEBUG)) || DEBUG_AI_DELAY_TIMER
// NOTE: This uses hardware timers 2 and 3; this will not work during active link connections or with the eReader
static inline void CycleCountStart()
{
REG_TM2CNT_H = 0;
@ -154,7 +154,6 @@ static inline u32 CycleCountEnd()
// return result
return REG_TM2CNT_L | (REG_TM3CNT_L << 16u);
}
#endif
struct Coords8
{