Skip to content

Commit

Permalink
[doxygen] remove empty line at end of block (openthread#10748)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Sep 24, 2024
1 parent c0b5a54 commit c182933
Show file tree
Hide file tree
Showing 484 changed files with 1 addition and 9,070 deletions.
2 changes: 0 additions & 2 deletions doc/ot_api_doc.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
* @}
*
* @}
*
*/

/**
Expand Down Expand Up @@ -193,5 +192,4 @@
* @defgroup plat-trel TREL - Platform
*
* @}
*
*/
1 change: 0 additions & 1 deletion doc/ot_config_doc.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,4 @@
* @defgroup config-wakeup Wake-up
*
* @}
*
*/
4 changes: 0 additions & 4 deletions examples/apps/cli/cli_uart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
* @def OPENTHREAD_CONFIG_CLI_UART_RX_BUFFER_SIZE
*
* The size of CLI UART RX buffer in bytes.
*
*/
#ifndef OPENTHREAD_CONFIG_CLI_UART_RX_BUFFER_SIZE
#if OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE
Expand All @@ -63,7 +62,6 @@
* @def OPENTHREAD_CONFIG_CLI_TX_BUFFER_SIZE
*
* The size of CLI message buffer in bytes.
*
*/
#ifndef OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE
#define OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE 1024
Expand Down Expand Up @@ -106,7 +104,6 @@ uint16_t sSendLength;
/**
* Macro to acquire an exclusive lock of uart cli output
* Default implementation does nothing
*
*/
#ifndef OT_CLI_UART_OUTPUT_LOCK
#define OT_CLI_UART_OUTPUT_LOCK() \
Expand All @@ -118,7 +115,6 @@ uint16_t sSendLength;
/**
* Macro to release the exclusive lock of uart cli output
* Default implementation does nothing
*
*/
#ifndef OT_CLI_UART_OUTPUT_UNLOCK
#define OT_CLI_UART_OUTPUT_UNLOCK() \
Expand Down
1 change: 0 additions & 1 deletion examples/apps/cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
* Initializes the CLI app.
*
* @param[in] aInstance The OpenThread instance structure.
*
*/
extern void otAppCliInit(otInstance *aInstance);

Expand Down
1 change: 0 additions & 1 deletion examples/apps/ncp/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
* Initializes the NCP app.
*
* @param[in] aInstance The OpenThread instance structure.
*
*/
extern void otAppNcpInit(otInstance *aInstance);
extern void otAppNcpInitMulti(otInstance **aInstances, uint8_t count);
Expand Down
1 change: 0 additions & 1 deletion examples/config/ot-core-config-check-size-br.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
/**
* This header file defines the OpenThread core configuration example for an Border Router. This is intended for use
* in `script/check-size`.
*
*/

#ifndef OT_CORE_CONFIG_CHECK_SIZE_BR_H_
Expand Down
1 change: 0 additions & 1 deletion examples/config/ot-core-config-check-size-ftd.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
/**
* This header file defines the OpenThread core configuration example for an FTD device (not acting as BR). This is
* intended for use in `script/check-size`.
*
*/

#ifndef OT_CORE_CONFIG_CHECK_SIZE_FTD_H_
Expand Down
1 change: 0 additions & 1 deletion examples/config/ot-core-config-check-size-mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
/**
* This header file defines the OpenThread core configuration example for an MTD/SED device. This is intended for use
* in `script/check-size`.
*
*/

#ifndef OT_CORE_CONFIG_CHECK_SIZE_MTD_H_
Expand Down
5 changes: 0 additions & 5 deletions examples/platforms/openthread-system.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ extern "C" {
*
* @param[in] argc Number of arguments in @p argv.
* @param[in] argv Argument vector.
*
*/
void otSysInit(int argc, char *argv[]);

Expand All @@ -58,7 +57,6 @@ void otSysInit(int argc, char *argv[]);
*
* @note This function is not called by the OpenThread library. Instead, the system/RTOS should call this function
* when deinitialization of OpenThread's drivers is most appropriate.
*
*/
void otSysDeinit(void);

Expand All @@ -69,7 +67,6 @@ void otSysDeinit(void);
*
* @note This function is not called by the OpenThread library. Instead, the system/RTOS should call this function
* in the main loop to determine when to shut down and re-initialize the OpenThread instance.
*
*/
bool otSysPseudoResetWasRequested(void);

Expand All @@ -80,7 +77,6 @@ bool otSysPseudoResetWasRequested(void);
* in the main loop when processing OpenThread's drivers is most appropriate.
*
* @param[in] aInstance The OpenThread instance structure.
*
*/
void otSysProcessDrivers(otInstance *aInstance);

Expand All @@ -89,7 +85,6 @@ void otSysProcessDrivers(otInstance *aInstance);
*
* @note This function is not handled by the OpenThread library. Instead, the system/RTOS should handle this function
* and schedule a call to `otSysProcessDrivers()`.
*
*/
extern void otSysEventSignalPending(void);

Expand Down
1 change: 0 additions & 1 deletion examples/platforms/simulation/diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@

/**
* Diagnostics mode variables.
*
*/
static bool sDiagMode = false;

Expand Down
1 change: 0 additions & 1 deletion examples/platforms/simulation/entropy.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
/**
* @file
* This file implements an entropy source based on /dev/urandom or pseudo-random generator.
*
*/

#include "platform-simulation.h"
Expand Down
10 changes: 0 additions & 10 deletions examples/platforms/simulation/platform-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@
/**
* @file
* This file includes the platform-specific configuration.
*
*/

/**
* @def OPENTHREAD_SIMULATION_UART_BAUDRATE
*
* This setting configures the baud rate of the UART.
*
*/
#ifndef OPENTHREAD_SIMULATION_UART_BAUDRATE
#define OPENTHREAD_SIMULATION_UART_BAUDRATE B115200
Expand All @@ -46,7 +44,6 @@
* @def OPENTHREAD_SIMULATION_VIRTUAL_TIME
*
* This setting configures whether to use virtual time (used for simulation) in simulation platform.
*
*/
#ifndef OPENTHREAD_SIMULATION_VIRTUAL_TIME
#define OPENTHREAD_SIMULATION_VIRTUAL_TIME 0
Expand All @@ -56,7 +53,6 @@
* @def OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART
*
* This setting configures whether to use virtual time for UART.
*
*/
#ifndef OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART
#define OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART 0
Expand All @@ -66,7 +62,6 @@
* @def OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
*
* Define as 1 to enable pseudo-reset.
*
*/
#ifndef OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
#define OPENTHREAD_PLATFORM_USE_PSEUDO_RESET 0
Expand All @@ -76,15 +71,13 @@
* @def OPENTHREAD_CONFIG_NCP_SPI_ENABLE
*
* Define as 1 to enable SPI NCP interface.
*
*/
#ifndef OPENTHREAD_CONFIG_NCP_SPI_ENABLE
#define OPENTHREAD_CONFIG_NCP_SPI_ENABLE 0
#endif

/**
* Check OTNS configurations
*
*/
#if OPENTHREAD_CONFIG_OTNS_ENABLE

Expand All @@ -98,7 +91,6 @@
* @def OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE
*
* This setting configures the maximum network size in simulation.
*
*/
#ifndef OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE
#define OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE 33
Expand All @@ -111,7 +103,6 @@
* socket.
*
* This is intended for testing of the OpenThread Multicast DNS (mDNS) module.
*
*/
#ifndef OPENTHREAD_SIMULATION_MDNS_SOCKET_IMPLEMENT_POSIX
#define OPENTHREAD_SIMULATION_MDNS_SOCKET_IMPLEMENT_POSIX 0
Expand All @@ -121,7 +112,6 @@
* @def OPENTHREAD_SIMULATION_IMPLMENT_INFRA_IF
*
* Define as 1 for the simulation platform to provide implementation of `otPlatInfra` APIs.
*
*/
#ifndef OPENTHREAD_SIMULATION_IMPLEMENT_INFRA_IF
#define OPENTHREAD_SIMULATION_IMPLEMENT_INFRA_IF 1
Expand Down
Loading

0 comments on commit c182933

Please sign in to comment.