File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ class Commander{
171
171
bool update ();
172
172
Commander& setPassPhrase (String& phrase) {passPhrase = &phrase; return *this ;}
173
173
Commander& printPassPhrase () {print (*passPhrase); return *this ;}
174
+ Commander& setUserString (String& str) {userString = &str; return *this ;}
175
+ Commander& printUserString () {print (*userString); return *this ;}
174
176
Commander& lock () {ports.settings .bit .locked = true ; return *this ;}
175
177
Commander& unlock () {ports.settings .bit .locked = false ; return *this ;}
176
178
Commander& setLockType (bool hlState) {ports.settings .bit .useHardLock = hlState; return *this ;}
@@ -541,8 +543,8 @@ class Commander{
541
543
uint16_t dataReadIndex = 0 ; // for parsing many numbers
542
544
const char * internalCommandArray[INTERNAL_COMMAND_ITEMS];
543
545
String *passPhrase = NULL ;
544
-
546
+ String *userString = NULL ;
545
547
uint8_t primntDelayTime = 0 ; //
546
548
};
547
549
548
- #endif // Commander_h
550
+ #endif // Commander_h
You can’t perform that action at this time.
0 commit comments