diff options
author | Nick Brassel <nick@tzarc.org> | 2021-07-25 12:17:15 +1000 |
---|---|---|
committer | Nick Brassel <nick@tzarc.org> | 2021-07-25 12:17:15 +1000 |
commit | 4ec8764c70da13366f8cb7f8240e3124ea509da5 (patch) | |
tree | e5482bbd1f20e76a5b6dfa03a87d577c3e8d2ed7 /tmk_core/common/timer.h | |
parent | fdf3ce3cd1bbf931660678b0b5e138ce37c84e7c (diff) | |
parent | b69e7431aa2e22b4f4662c64e84ed242caac055e (diff) |
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'tmk_core/common/timer.h')
-rw-r--r-- | tmk_core/common/timer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tmk_core/common/timer.h b/tmk_core/common/timer.h index 928811a2b7..02e39e79e7 100644 --- a/tmk_core/common/timer.h +++ b/tmk_core/common/timer.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif #include <stdint.h> -#include <stdbool.h> #define TIMER_DIFF(a, b, max) ((max == UINT8_MAX) ? ((uint8_t)((a) - (b))) : ((max == UINT16_MAX) ? ((uint16_t)((a) - (b))) : ((max == UINT32_MAX) ? ((uint32_t)((a) - (b))) : ((a) >= (b) ? (a) - (b) : (max) + 1 - (b) + (a))))) #define TIMER_DIFF_8(a, b) TIMER_DIFF(a, b, UINT8_MAX) |