From 24669c922e3a9040ae38b6527d07f1553f420632 Mon Sep 17 00:00:00 2001 From: Singular Devices Date: Sat, 10 Jul 2021 19:22:02 +0000 Subject: [PATCH] Update open-led-race.ino --- open-led-race/open-led-race.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-led-race/open-led-race.ino b/open-led-race/open-led-race.ino index bcd9cfd..54804b9 100644 --- a/open-led-race/open-led-race.ino +++ b/open-led-race/open-led-race.ino @@ -35,7 +35,7 @@ // --see changelog.txt char const softwareId[] = "A4P0"; // A4P -> A = Open LED Race, 4P0 = Game ID (4P = 4 Players, 0=Type 0) -char const version[] = "0.9.6"; +char const version[] = "0.9.7"; @@ -456,7 +456,7 @@ void print_cars_positions( car_t* cars ) { for( int i = 0; i < race.numcars; ++i ) { int const rpos = get_relative_position( &cars[i] ); - sprintf( txbuff, "p%d%s%d,%d%c", i + 1, tracksID[cars[i].trackID], cars[i].nlap, rpos, EOL ); + sprintf( txbuff, "p%d%s%d,%d,%d,%c", i + 1, tracksID[cars[i].trackID], cars[i].nlap, rpos,cars[i].battery, EOL ); serialCommand.sendCommand(txbuff); //sendCommand(txbuff); }