From 9dfb963dd21a562c0701dda89564a518f5af4f1a Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 20 Mar 2023 19:55:31 +1100 Subject: [PATCH] Update Doxygen comments for some headers --- drivers/lcd/hd44780.h | 4 ++-- quantum/digitizer.h | 8 +++----- quantum/joystick.h | 4 ++-- quantum/leader.h | 4 ++-- quantum/programmable_button.h | 4 ++-- quantum/secure.h | 13 ++++++++++--- quantum/send_string/send_string.h | 6 ++++-- 7 files changed, 25 insertions(+), 18 deletions(-) diff --git a/drivers/lcd/hd44780.h b/drivers/lcd/hd44780.h index 9e4333934447..402217a547a5 100644 --- a/drivers/lcd/hd44780.h +++ b/drivers/lcd/hd44780.h @@ -21,9 +21,9 @@ along with this program. If not, see . #include /** - * \defgroup hd44780 + * \file * - * HD44780 Character LCD Driver + * \defgroup hd44780 HD44780 Character LCD Driver * \{ */ diff --git a/quantum/digitizer.h b/quantum/digitizer.h index b826ba8ac870..6a9c24ed34df 100644 --- a/quantum/digitizer.h +++ b/quantum/digitizer.h @@ -13,17 +13,15 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#pragma once -#include "quantum.h" +#pragma once #include -#include /** - * \defgroup digitizer + * \file * - * HID Digitizer + * defgroup digitizer HID Digitizer * \{ */ diff --git a/quantum/joystick.h b/quantum/joystick.h index 0ac99aa590d0..5de4ba66c6ab 100644 --- a/quantum/joystick.h +++ b/quantum/joystick.h @@ -22,9 +22,9 @@ #include "gpio.h" /** - * \defgroup joystick + * \file * - * HID Joystick + * \defgroup joystick HID Joystick * \{ */ diff --git a/quantum/leader.h b/quantum/leader.h index 1999006c566f..3177fcd1962c 100644 --- a/quantum/leader.h +++ b/quantum/leader.h @@ -5,9 +5,9 @@ #include /** - * \defgroup leader + * \file * - * Leader Key + * \defgroup leader Leader Key * \{ */ diff --git a/quantum/programmable_button.h b/quantum/programmable_button.h index e8c916d75c90..4c2cd534fe80 100644 --- a/quantum/programmable_button.h +++ b/quantum/programmable_button.h @@ -21,9 +21,9 @@ along with this program. If not, see . #include /** - * \defgroup programmable_button + * \file * - * HID Programmable Buttons + * \defgroup programmable_button HID Programmable Buttons * \{ */ diff --git a/quantum/secure.h b/quantum/secure.h index bb2ba50f3166..ae9b5b904521 100644 --- a/quantum/secure.h +++ b/quantum/secure.h @@ -3,10 +3,15 @@ #pragma once -/** \file +/** + * \file * - * Exposes a set of functionality to act as a virtual padlock for your device - * ... As long as that padlock is made of paper and its currently raining. + * \defgroup secure Secure API + * + * \brief Exposes a set of functionality to act as a virtual padlock for your device + * ...as long as that padlock is made of paper and it's currently raining. + * + * \{ */ #include @@ -77,3 +82,5 @@ bool secure_hook_user(secure_status_t secure_status); /** \brief keyboard hook called when changing secure status device */ bool secure_hook_kb(secure_status_t secure_status); + +/** \} */ diff --git a/quantum/send_string/send_string.h b/quantum/send_string/send_string.h index 4eb55b88dccc..dbaed43ebccb 100644 --- a/quantum/send_string/send_string.h +++ b/quantum/send_string/send_string.h @@ -15,9 +15,11 @@ */ /** - * \defgroup send_string + * \file * - * Send String API. These functions allow you to create macros by typing out sequences of keystrokes. + * \defgroup send_string Send String API + * + * \brief These functions allow you to create macros by typing out sequences of keystrokes. * \{ */