aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_timer.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-09-19 21:19:40 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-09-19 22:19:34 +0100
commitd495a881f3c277abd4a49fe9b3d5d2788ee4c92b (patch)
treef001f93e7be420d3cab8d6781213148e14dcbbd3 /include/ubox_timer.h
parent50d06345810cf849548b95e92973f8466b7d5754 (diff)
downloaduboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.tar.gz
uboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.zip
Use "pragma once"
Diffstat (limited to 'include/ubox_timer.h')
-rw-r--r--include/ubox_timer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ubox_timer.h b/include/ubox_timer.h
index e2caaaf..3a723cc 100644
--- a/include/ubox_timer.h
+++ b/include/ubox_timer.h
@@ -1,5 +1,4 @@
-#ifndef _UBOX_TIMER_H
-#define _UBOX_TIMER_H
+#pragma once
/* updates 18.2 times per second */
extern volatile uint32_t ubox_ticks;
@@ -15,5 +14,3 @@ void ubox_timer_start(uint8_t secs, volatile uint8_t *updated);
uint8_t ubox_timer_value();
void ubox_timer_stop();
void ubox_timer_resume();
-
-#endif /* _UBOX_TIMER_H */