From 9c3c159286d20b05c3526ddb96661b10f706f222 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 22 Mar 2023 14:32:49 +1100 Subject: [PATCH] Update Doxygen comments for some headers (#20194) --- 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 9e433393444..402217a547a 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 b826ba8ac87..6a9c24ed34d 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" - #include -#include /** - * \defgroup digitizer + * \file * - * HID Digitizer + * defgroup digitizer HID Digitizer * \{ */ diff --git a/quantum/joystick.h b/quantum/joystick.h index 0ac99aa590d..5de4ba66c6a 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 1999006c566..3177fcd1962 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 e8c916d75c9..4c2cd534fe8 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 bb2ba50f316..ae9b5b90452 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 4eb55b88dcc..dbaed43ebcc 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. * \{ */