From 89761191a98f7dce4d1049b9a84c3d645378222a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 27 Oct 2024 23:16:58 -0600 Subject: Lint that include-guards match the filename --- cmd/sbc_harness/config/config.h | 2 +- cmd/sbc_harness/config/tusb_config.h | 2 +- cmd/sbc_harness/hw/rp2040_hwspi.h | 6 +++--- cmd/sbc_harness/usb_keyboard.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'cmd/sbc_harness') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index c3e8bf3..483e815 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -1,4 +1,4 @@ -/* sbc_harness/config/config.h - Compile-time configuration for sbc_harness +/* config.h - Compile-time configuration for sbc_harness * * Copyright (C) 2024 Luke T. Shumaker * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/sbc_harness/config/tusb_config.h b/cmd/sbc_harness/config/tusb_config.h index 74561f3..47ebc3e 100644 --- a/cmd/sbc_harness/config/tusb_config.h +++ b/cmd/sbc_harness/config/tusb_config.h @@ -1,4 +1,4 @@ -/* sbc_harness/config/tusb_config.h - Compile-time configuration for the TinyUSB library +/* tusb_config.h - Compile-time configuration for the TinyUSB library * * Copyright (C) 2024 Luke T. Shumaker * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/sbc_harness/hw/rp2040_hwspi.h b/cmd/sbc_harness/hw/rp2040_hwspi.h index 8cf8aff..393eae6 100644 --- a/cmd/sbc_harness/hw/rp2040_hwspi.h +++ b/cmd/sbc_harness/hw/rp2040_hwspi.h @@ -5,8 +5,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _RP2040_HWSPI_H_ -#define _RP2040_HWSPI_H_ +#ifndef _HW_RP2040_HWSPI_H_ +#define _HW_RP2040_HWSPI_H_ #include /* for bi_* */ @@ -60,4 +60,4 @@ void _rp2040_hwspi_init(struct rp2040_hwspi *self, uint pin_clk, uint pin_cs); -#endif /* _RP2040_HWSPI_H_ */ +#endif /* _HW_RP2040_HWSPI_H_ */ diff --git a/cmd/sbc_harness/usb_keyboard.h b/cmd/sbc_harness/usb_keyboard.h index 2227220..f3593f3 100644 --- a/cmd/sbc_harness/usb_keyboard.h +++ b/cmd/sbc_harness/usb_keyboard.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _USB_KEYBOARD_H_ -#define _USB_KEYBOARD_H_ +#ifndef _SBC_HARNESS_USB_KEYBOARD_H_ +#define _SBC_HARNESS_USB_KEYBOARD_H_ #include /* for uint32_t */ @@ -17,4 +17,4 @@ CR_RPC_DECLARE(usb_keyboard_rpc, uint32_t, int) void usb_keyboard_init(void); COROUTINE usb_keyboard_cr(void *arg); -#endif /* _USB_KEYBOARD_H_ */ +#endif /* _SBC_HARNESS_USB_KEYBOARD_H_ */ -- cgit v1.2.3-2-g168b