From d495a881f3c277abd4a49fe9b3d5d2788ee4c92b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 19 Sep 2023 21:19:40 +0100 Subject: Use "pragma once" --- include/ubox_joy.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/ubox_joy.h') diff --git a/include/ubox_joy.h b/include/ubox_joy.h index 002b58e..b86765c 100644 --- a/include/ubox_joy.h +++ b/include/ubox_joy.h @@ -1,10 +1,7 @@ -#ifndef _UBOX_JOY_H -#define _UBOX_JOY_H +#pragma once /* it also calibrates */ uint8_t ubox_joy_detect(); /* returns the bits specified in ubox_control.h */ uint8_t ubox_joy_read(); - -#endif /* _UBOX_JOY_H */ -- cgit v1.2.3