Typo fixes.

This commit is contained in:
Fotis Panagiotopoulos 2022-01-05 17:34:05 +02:00 committed by Xiang Xiao
parent 614b73d321
commit bc5d8034f1
45 changed files with 74 additions and 74 deletions

View file

@ -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 */