Skip to content

Commit

Permalink
Release 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gpb01 committed Jan 25, 2022
1 parent 52ba1c7 commit 3189c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SerialCmd
version=1.0.6
version=1.0.7
author=Guglielmo Braguglia <guglielmo.braguglia@phoenixsea.ch>
maintainer=Guglielmo Braguglia <guglielmo.braguglia@phoenixsea.ch>
sentence=Just another library to tokenize and parse commands.
Expand Down
6 changes: 3 additions & 3 deletions src/SerialCmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
// SerialCmd configuration. Adjust following your needs

#define SERIALCMD_FORCEUC 0 // If set to 1 force uppercase for serial command
#define SERIALCMD_MAXCMDNUM 16 // Max Number of Command
#define SERIALCMD_MAXCMDNUM 8 // Max Number of Command
#define SERIALCMD_MAXCMDLNG 6 // Max Command Length
#define SERIALCMD_MAXBUFFER 64 // Max Buffer Length
#define SERIALCMD_MAXBUFFER 30 // Max Buffer Length

// Command source validity
#define SERIALCMD_FROMSTRING -1 // Valid only as SerialCmd_ReadString command
Expand Down Expand Up @@ -114,7 +114,7 @@ class SerialCmd {

struct SerialCmd_Callback { // Structure to record Command/Function pairs
char command[SERIALCMD_MAXCMDLNG + 1];
char allowedSource;
signed char allowedSource;
void ( *function ) ();
};

Expand Down

0 comments on commit 3189c09

Please sign in to comment.