formatting

This commit is contained in:
hathach
2015-05-01 18:45:22 +07:00
parent c73907f831
commit 62ae417add
10 changed files with 86 additions and 43 deletions

View File

@@ -52,7 +52,8 @@ enum {
ASCII_BACKSPACE = 8,
};
typedef enum {
typedef enum
{
CLI_ERROR_NONE = 0,
CLI_ERROR_INVALID_PARA,
CLI_ERROR_INVALID_PATH,
@@ -98,7 +99,8 @@ CLI_COMMAND_TABLE(CLI_PROTOTYPE_EXPAND)
// Expand to enum value
//--------------------------------------------------------------------+
#define CLI_ENUM_EXPAND(command, function, description) CLI_CMDTYPE_##command,
typedef enum {
typedef enum
{
CLI_COMMAND_TABLE(CLI_ENUM_EXPAND)
CLI_CMDTYPE_COUNT
}cli_cmdtype_t;