From 1ed6f8499244f1be14e84918af4bfa5101beca88 Mon Sep 17 00:00:00 2001 From: smlng <s@mlng.net> Date: Tue, 5 Sep 2017 20:37:28 +0200 Subject: [PATCH] doc: fix whitespaces --- boards/arduino-atmega-common/Makefile.include | 2 +- cpu/cc2538/include/periph_cpu.h | 2 +- cpu/kinetis_common/doc.txt | 18 +++++++++--------- sys/cpp11-compat/include/riot/thread.hpp | 2 +- sys/posix/pthread/include/pthread_mutex.h | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/boards/arduino-atmega-common/Makefile.include b/boards/arduino-atmega-common/Makefile.include index 12362abad7..3c8ed33990 100644 --- a/boards/arduino-atmega-common/Makefile.include +++ b/boards/arduino-atmega-common/Makefile.include @@ -3,7 +3,7 @@ include $(RIOTBOARD)/arduino-atmega-common/Makefile.dep INCLUDES += -I$(RIOTBOARD)/arduino-atmega-common/include -# refine serial port information +# refine serial port information export BAUD ?= 9600 include $(RIOTMAKE)/tools/serial.inc.mk diff --git a/cpu/cc2538/include/periph_cpu.h b/cpu/cc2538/include/periph_cpu.h index 435438ee73..60ab4aea29 100644 --- a/cpu/cc2538/include/periph_cpu.h +++ b/cpu/cc2538/include/periph_cpu.h @@ -247,7 +247,7 @@ typedef enum { ADC_RES_14BIT = (0xc00), /**< not supported by hardware */ ADC_RES_16BIT = (0xd00), /**< not supported by hardware */ } adc_res_t; -/** @} */ +/** @} */ /** * @brief ADC configuration wrapper diff --git a/cpu/kinetis_common/doc.txt b/cpu/kinetis_common/doc.txt index c68c15e1c7..0eddb15312 100644 --- a/cpu/kinetis_common/doc.txt +++ b/cpu/kinetis_common/doc.txt @@ -9,7 +9,7 @@ * @ingroup cpu_kinetis_common * @brief ADC driver * - * ### ADC configuration example (for periph_conf.h) ### + * ### ADC configuration example (for periph_conf.h) ### * * static const adc_conf_t adc_config[] = { * { .dev = ADC0, .pin = GPIO_UNDEF , .chan = 0 }, // ADC0_DP0 @@ -47,7 +47,7 @@ * @ingroup cpu_kinetis_common * @brief I2C driver * - * ### I2C configuration example (for periph_conf.h) ### + * ### I2C configuration example (for periph_conf.h) ### * * #define I2C_NUMOF (1U) * #define I2C_0_EN 1 @@ -85,7 +85,7 @@ * @ingroup cpu_kinetis_common * @brief PWM driver * - * ### PWM configuration example (for periph_conf.h) ### + * ### PWM configuration example (for periph_conf.h) ### * * #define PWM_NUMOF (1U) * #define PWM_0_EN 1 @@ -118,7 +118,7 @@ * looks random. Reference Manual recommends to use the RNGA as entropy * source. * - * ### RNGA configuration example (for periph_conf.h) ### + * ### RNGA configuration example (for periph_conf.h) ### * * #define RANDOM_NUMOF (1U) * #define KINETIS_RNGA RNG @@ -134,7 +134,7 @@ * looks random. Reference Manual recommends to use the RNGB as entropy * source. * - * ### RNGB configuration example (for periph_conf.h) ### + * ### RNGB configuration example (for periph_conf.h) ### * * #define RANDOM_NUMOF (1U) * #define KINETIS_RNGB RNG @@ -155,7 +155,7 @@ * The driver supports alarm, it is stored in the * Time Alarm Registers (TAR) and the unit is seconds. * - * ### RTC configuration example (for periph_conf.h) ### + * ### RTC configuration example (for periph_conf.h) ### * * #define RTC_NUMOF (1U) * #define RTC_DEV RTC @@ -200,7 +200,7 @@ * extra delays in the transfer because of the additional overhead * of calling gpio_set/clear at every transfer. * - * ### SPI configuration example (for periph_conf.h): ### + * ### SPI configuration example (for periph_conf.h): ### * * static const uint32_t spi_clk_config[] = { * // Use cpu/kinetis_common/dist/calc_spi_scalers to @@ -260,7 +260,7 @@ * caused by mixing the clock domains of the bus clock used by the * CPU and the 32kHz reference clock for the LPTMR counter. * - * ### Timer configuration example (for periph_conf.h) ### + * ### Timer configuration example (for periph_conf.h) ### * * #define PIT_NUMOF (2U) * #define PIT_CONFIG { \ @@ -299,7 +299,7 @@ * using the BRFA field in the UART C4 register. * Currently, only the base TX/RX functionality is available. * - * ### UART configuration example (for periph_conf.h) ### + * ### UART configuration example (for periph_conf.h) ### * * static const uart_conf_t uart_config[] = { * { diff --git a/sys/cpp11-compat/include/riot/thread.hpp b/sys/cpp11-compat/include/riot/thread.hpp index a9b1323dc6..219167268e 100644 --- a/sys/cpp11-compat/include/riot/thread.hpp +++ b/sys/cpp11-compat/include/riot/thread.hpp @@ -76,7 +76,7 @@ struct thread_data { */ struct thread_data_deleter { /** - * @brief Called by the deleter of a thread object to manage the lifetime of + * @brief Called by the deleter of a thread object to manage the lifetime of * the thread internal management data. */ void operator()(thread_data* ptr) { diff --git a/sys/posix/pthread/include/pthread_mutex.h b/sys/posix/pthread/include/pthread_mutex.h index 66dea47a77..6e2eb40660 100644 --- a/sys/posix/pthread/include/pthread_mutex.h +++ b/sys/posix/pthread/include/pthread_mutex.h @@ -44,7 +44,7 @@ int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexa /** * @brief Destroy a mutex. * @details This is currently a no-op. - * Destroying a mutex locked is undefined behavior. + * Destroying a mutex locked is undefined behavior. * @param[in,out] mutex Datum to destroy. * @returns 0, this invocation is a no-op that cannot fail. */ -- GitLab