Skip to content

Commit 4350ee6

Browse files
2 parents 7c65a0a + a105517 commit 4350ee6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Commander
2-
version=4.1.0
2+
version=4.0.1
33
author=Bill Bigge
44
maintainer=Bill Bigge <[email protected]>
55
sentence=Command line library for Arduino.

src/Commander.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ typedef union {
9494
//default is 0b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 0 1 1 0 0 0
9595
//const String CommanderVersionNumber = "3.0.0";
9696
const uint8_t majorVersion = 4;
97-
const uint8_t minorVersion = 1;
98-
const uint8_t subVersion = 0;
97+
const uint8_t minorVersion = 0;
98+
const uint8_t subVersion = 1;
9999

100100
typedef enum streamType_t{
101101
UNDEFINED_STREAM = 0,
@@ -171,8 +171,6 @@ class Commander{
171171
bool update();
172172
Commander& setPassPhrase(String& phrase) {passPhrase = &phrase; return *this;}
173173
Commander& printPassPhrase() {print(*passPhrase); return *this;}
174-
Commander& setUserString(String& str) {userString = &str; return *this;}
175-
Commander& printUserString() {print(*userString); return *this;}
176174
Commander& lock() {ports.settings.bit.locked = true; return *this;}
177175
Commander& unlock() {ports.settings.bit.locked = false; return *this;}
178176
Commander& setLockType(bool hlState) {ports.settings.bit.useHardLock = hlState; return *this;}
@@ -543,8 +541,8 @@ class Commander{
543541
uint16_t dataReadIndex = 0; //for parsing many numbers
544542
const char* internalCommandArray[INTERNAL_COMMAND_ITEMS];
545543
String *passPhrase = NULL;
546-
String *userString = NULL;
544+
547545
uint8_t primntDelayTime = 0; //
548546
};
549547

550-
#endif //Commander_h
548+
#endif //Commander_h

0 commit comments

Comments
 (0)