Bug in MYScontroller.
When I edit the file firmware_config.csv and set a version number with a decimal the output in the debug is wrong.
This is my file:
Type,Name,Version,File,Comments
10,Blink,1,Blink.ino.hex,blinking example
20,Tvattstugan-2,3,Tvattstugan-2.ino.hex,Testar Flash
30,Tvattstugan,2,Tvattstugan.ino.hex,Tvattstugan
40,Sovrummet,2.1,Sovrummet.ino.hex,Sovrummet
Note that I have 2.1 as the version in 40, Sovrummet.
But when I load the repo in MYSController v is 65535:
2021-02-13 17:06:37 REPO FW "Blink" loaded. t=10, v=1, blocks=80, crc=0x46D4
2021-02-13 17:06:37 REPO FW "Tvattstugan-2" loaded. t=20, v=3, blocks=1488, crc=0x6D13
2021-02-13 17:06:37 REPO FW "Tvattstugan" loaded. t=30, v=2, blocks=960, crc=0xBB4F
2021-02-13 17:06:37 REPO FW "Sovrummet" loaded. t=40, v=65535, blocks=936, crc=0x6AB3
2021-02-13 17:06:37 REPO FW repository loaded. Items=4
And in the GUI the version is also 65535.
Actually there are two bugs.
If I add (sloppy I know) more empty lines at the end in the firmware_config.csv file I get this in the debug:
2021-02-13 17:13:35 REPO FW "Blink" loaded. t=10, v=1, blocks=80, crc=0x46D4
2021-02-13 17:13:35 REPO FW "Tvattstugan-2" loaded. t=20, v=3, blocks=1488, crc=0x6D13
2021-02-13 17:13:35 REPO FW "Tvattstugan" loaded. t=30, v=2, blocks=960, crc=0xBB4F
2021-02-13 17:13:35 REPO FW "Sovrummet" loaded. t=40, v=65535, blocks=936, crc=0x6AB3
2021-02-13 17:13:35 ERROR 2107-15-31 is not a valid date specification
Other than that, great piece of software. Thanks.