Skip to content

Commit 6e2967c

Browse files
author
Turnermator13
committed
Fix 3digit to 4 digit conversions again ...
1 parent 18beb51 commit 6e2967c

File tree

14 files changed

+12
-9
lines changed

14 files changed

+12
-9
lines changed

ArduinoDash/ArduinoDash.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define STB 9
1212

1313

14-
PROGMEM prog_uchar VERSION[] = {2, 1, 0, 2};
14+
PROGMEM prog_uchar VERSION[] = {2, 1, 0, 3};
1515
PROGMEM prog_uint16_t ledsLong[2][17] = {{0, 1, 3, 7, 15, 31, 63, 127, 255, 256, 768, 1792, 3840, 7936, 7968, 8032, 8160}, {0, 1, 3, 7, 15, 31, 63, 127, 255, 1, 3, 7, 15, 31, 8223, 24607, 57375}};
1616
PROGMEM prog_uint16_t ledsShort[2][9] = {{0, 256, 768, 1792, 3840, 7936, 7968, 8032, 8160}, {0, 1, 3, 7, 15, 31, 8223, 24607, 57375}};
1717

Changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Arduino Racing Dash ChangeLog
22
--------------------
33

4-
v2.1.2:
4+
v2.1.3:
55
Fix updater, added backup utility to restore old files upon updating error
66
Fix last lap detection and sending in iRacing
77
Move config back into app/python/acSLI/acSLI.ini - has auto detection/moving

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##Arduino Racing Dashboard
2-
**Latest Version:** v2.1.2 - Tested for Asseto Corsa v1.0
2+
**Latest Version:** v2.1.3 - Tested for Asseto Corsa v1.0
33

44
Dashboard code for TM1638 module linked to an Arduino, support for Asseto Corsa and iRacing currently
55

acSLI/acSLIApp/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import acSLIApp.utils as Utils
1212

1313
#################
14-
Version = "2.1.2"
14+
Version = "2.1.3"
1515
ArduinoVersion = "2.1.2"
1616
#################
1717

acSLI/acSLIApp/connection.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@ def _findConnect():
7070
if len(aV) < 4:
7171
aV = aV[0] + aV[1] + "0" + aV[2]
7272

73-
if "".join(acSLI.App.ArduinoVersion.split(".")) > aV:
73+
aLV = "".join(acSLI.App.ArduinoVersion.split("."))
74+
if len(aLV) < 4:
75+
aLV = aLV[0] + aLV[1] + "0" + aLV[2]
76+
77+
if aLV > aV:
7478
instance.port = "----"
7579
instance.ser.close()
76-
Log.warning("Arduino Code Outdated. Please Update Arduino to at least v" +
77-
acSLI.App.ArduinoVersion + " and then Restart AC")
80+
Log.warning("Arduino Code Outdated(v%s). Please Update Arduino to at least v%s and then Restart AC" % (arduinoVer, acSLI.App.ArduinoVersion))
7881
Error.ErrorBox("Arduino Code Outdated. Please Update Arduino to at least v" +
7982
acSLI.App.ArduinoVersion + " and then Restart AC")
8083
else:

iRacingSLI/iRacingSLI.exe

0 Bytes
Binary file not shown.

iRacingSLI/src/iRacingSLI.v12.suo

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

iRacingSLI/src/iRacingSLI/iRacingSLI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public partial class iRacingSLI : Form
3333
private Boolean sendTime;
3434
private Boolean sendTimeReset;
3535

36-
private String Version = "2.1.2";
36+
private String Version = "2.1.3";
3737
private String ArduinoVersion = "2.1.2";
3838

3939
public iRacingSLI()

0 commit comments

Comments
 (0)