Skip to content

Commit 02b1777

Browse files
committed
chore: Run "c-code-style" astyle formatter on source/header files
Ran `astyle --options="astyle-code-format.cfg" "./*.c,*.h"`. Removes some trailing whitepsaces.
1 parent 74b33db commit 02b1777

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dev/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdint.h>
55

66
/**
7-
* \brief Reading one character at a time
7+
* \brief Reading one character at a time
88
*
99
* This is useful to test the shell in a "raw" mode (non-canonical input)
1010
* Please note that conio.h is a windows only header

lwshell/src/include/lwshell/lwshell_opt.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern "C" {
5454

5555
/**
5656
* \brief Enables `1` or disables `0` dynamic command register with \ref lwshell_register_cmd or \ref lwshell_register_cmd_ex functions
57-
*
57+
*
5858
* \note Set to `1` by default for backward compatibility
5959
* \sa LWSHELL_CFG_USE_STATIC_COMMANDS
6060
*/
@@ -64,12 +64,12 @@ extern "C" {
6464

6565
/**
6666
* \brief Enables `1` or disables `0` static command registration.
67-
*
67+
*
6868
* When enabled, a single register call is used where application
6969
* can pass constant array of the commands and respective callback functions.
70-
*
70+
*
7171
* This allows RAM reduction as lookup tables can be stored in the non-volatile memory
72-
*
72+
*
7373
* \note Set to `0` by default for backward compatibility
7474
* \sa LWSHELL_CFG_USE_DYNAMIC_COMMANDS
7575
*/
@@ -79,7 +79,7 @@ extern "C" {
7979

8080
/**
8181
* \brief Maximum number of different dynamic registered commands
82-
*
82+
*
8383
* \warning Deprecated and replaced with \ref LWSHELL_CFG_MAX_DYNAMIC_CMDS
8484
* \deprecated
8585
*/
@@ -108,7 +108,7 @@ extern "C" {
108108

109109
/**
110110
* \brief Maximum characters for command name in bytes.
111-
*
111+
*
112112
* \note Used only when \ref LWSHELL_CFG_USE_DYNAMIC_COMMANDS is enabled
113113
*/
114114
#ifndef LWSHELL_CFG_MAX_CMD_NAME_LEN

0 commit comments

Comments
 (0)