Remove NDEBUG guard on cycle counter functions
This commit is contained in:
parent
692f7968fc
commit
74e84da571
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user