From a537e368e1a306840076f03919dd97e4b5d50130 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 14 Jan 2025 07:41:50 +0000 Subject: Use pragma --- include/ubox_keyb.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/ubox_keyb.h b/include/ubox_keyb.h index 6c3a95b..2791ea8 100644 --- a/include/ubox_keyb.h +++ b/include/ubox_keyb.h @@ -1,5 +1,4 @@ -#ifndef _UBOX_KEYB_H -#define _UBOX_KEYB_H +#pragma once extern volatile uint8_t ubox_keys[0xff]; @@ -34,5 +33,3 @@ void ubox_keyb_free(); #define UBOX_KEY_F10 68 #define UBOX_KEY_F11 87 #define UBOX_KEY_F12 88 - -#endif /* _UBOX_KEYB_H */ -- cgit v1.2.3