mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Typo fixes.
This commit is contained in:
parent
614b73d321
commit
bc5d8034f1
45 changed files with 74 additions and 74 deletions
|
|
@ -54,7 +54,7 @@
|
|||
#include "lib.h"
|
||||
|
||||
#define CANID_DELIM '#'
|
||||
#define DATA_SEPERATOR '.'
|
||||
#define DATA_SEPARATOR '.'
|
||||
|
||||
const char hex_asc_upper[] = "0123456789ABCDEF";
|
||||
|
||||
|
|
@ -217,7 +217,7 @@ int parse_canframe(char *cs, struct canfd_frame *cf) {
|
|||
|
||||
for (i=0, dlen=0; i < maxdlen; i++){
|
||||
|
||||
if(cs[idx] == DATA_SEPERATOR) /* skip (optional) separator */
|
||||
if(cs[idx] == DATA_SEPARATOR) /* skip (optional) separator */
|
||||
idx++;
|
||||
|
||||
if(idx >= len) /* end of string => end of data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue