Skip to content

Commit

Permalink
fix: for Release build
Browse files Browse the repository at this point in the history
  • Loading branch information
reinder committed Aug 21, 2024
1 parent d848593 commit 5a650b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@

#include <pico/types.h>

#ifndef NDEBUG
inline bool operator>=(const absolute_time_t lhs, const absolute_time_t rhs)
{
return to_us_since_boot(lhs) >= to_us_since_boot(rhs);
}
#endif

#endif

0 comments on commit 5a650b2

Please sign in to comment.