Skip to content

Commit

Permalink
Resolve linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Scheiffler authored and Jake-Carter committed Feb 10, 2024
1 parent 0250b94 commit b4ae16b
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Examples/MAX32670/Flash_CLI/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@
// CLI command table
// clang-format off
#define CMD_TABLE { { "write", \
"write <word offset> <text>", \
"Writes text string to flash starting at the 32-bit word in the\n" \
" flash page specified by \"word offset\" (e.g. word offset=3 -> address\n" \
" offset=0xC, word offset=4 -> address offset=0x10)", \
handle_write }, \
{ "erase", \
"erase", \
"Erases page in flash being operated on", \
handle_erase }, \
{ "read", \
"read <word offset> <number of letters>", \
"Reads text from flash starting at the 32-bit word in the flash\n" \
" page specified by \"word offset\" (e.g. word offset=3 -> address offset=0xC,\n" \
" word offset=4 -> address offset=0x10)", \
handle_read }, \
{ "crc", \
"crc", \
"Calculates CRC of entire flash page", \
handle_crc } }
"write <word offset> <text>", \
"Writes text string to flash starting at the 32-bit word in the\n" \
" flash page specified by \"word offset\" (e.g. word offset=3 -> address\n" \
" offset=0xC, word offset=4 -> address offset=0x10)", \
handle_write }, \
{ "erase", \
"erase", \
"Erases page in flash being operated on", \
handle_erase }, \
{ "read", \
"read <word offset> <number of letters>", \
"Reads text from flash starting at the 32-bit word in the flash\n" \
" page specified by \"word offset\" (e.g. word offset=3 -> address offset=0xC,\n" \
" word offset=4 -> address offset=0x10)", \
handle_read }, \
{ "crc", \
"crc", \
"Calculates CRC of entire flash page", \
handle_crc } }
// clang-format on

#define WORD_OFFSET_POS 1
Expand Down

0 comments on commit b4ae16b

Please sign in to comment.