Skip to content

Commit 32877c5

Browse files
Bump to 4.2.2
Fix wonky release
1 parent ce80c96 commit 32877c5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Commander changelog
22
(Changelog started at 1.2.3)
33

4+
4.2.2
5+
Updated to 4.2.2 because I messed up the last releases on Github. Needs a whole new release tag to fix.
6+
7+
48
4.2.0
59
Added reloadCommands() function. This re-computes the command lengths so that command strings can be changed at run time. If the command list is declared as a non const, then the string and function pointers can be reassigned. In order to change a command string to one of a different length commander needs to recompute the command lengths, so this function needs to be called if a command string pointer is assigned to a string of a different length.
610
Added attachCommandArray() method similar to attachCommands but takes the array length as an argument instead of sizeof().

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.2.0
2+
version=4.2.2
33
author=Bill Bigge
44
maintainer=Bill Bigge <bbigge@gmail.com>
55
sentence=Command line library for Arduino.

src/Commander.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99

1010
class Commander;
1111

12-
13-
//const String CommanderVersionNumber = "3.0.0";
1412
const uint8_t majorVersion = 4;
1513
const uint8_t minorVersion = 2;
16-
const uint8_t subVersion = 0;
14+
const uint8_t subVersion = 2;
1715

1816

1917
//#define BENCHMARKING_ON

0 commit comments

Comments
 (0)