aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_control.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_control.h
parent50d06345810cf849548b95e92973f8466b7d5754 (diff)
downloaduboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.tar.gz
uboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.zip
Use "pragma once"
Diffstat (limited to 'include/ubox_control.h')
-rw-r--r--include/ubox_control.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ubox_control.h b/include/ubox_control.h
index 47fff33..0bfea5f 100644
--- a/include/ubox_control.h
+++ b/include/ubox_control.h
@@ -1,5 +1,4 @@
-#ifndef _UBOX_CONTROL_H
-#define _UBOX_CONTROL_H
+#pragma once
#define UBOX_CTL_NONE 0
#define UBOX_CTL_UP 1
@@ -11,5 +10,3 @@
void ubox_control_init();
uint8_t ubox_control_read();
-
-#endif /* _UBOX_CONTROL_H */