From 08406b957ce2af6d4282667a7cd70aff7f7c22b8 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Sat, 17 Jun 2017 13:15:27 +1000 Subject: [PATCH] Fix for missed number in storage.ino --- .travis.yml | 5 +---- speeduino/storage.ino | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index a938d04b..e88b91f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,10 +38,7 @@ cache: addons: apt: sources: - - sourceline: 'deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse' - - sourceline: 'deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports multiverse' - - sourceline: 'deb http://security.ubuntu.com/ubuntu trusty-security multiverse' - - sourceline: 'deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse' + - sourceline: 'deb http://archive.ubuntu.com/ubuntu trusty-backports trusty-updates main restricted multiverse' packages: - cppcheck diff --git a/speeduino/storage.ino b/speeduino/storage.ino index 09606c73..425cc956 100644 --- a/speeduino/storage.ino +++ b/speeduino/storage.ino @@ -383,7 +383,7 @@ void loadConfig() offset = x - EEPROM_CONFIG8_MAP1; boostTable.values[7-(offset/8)][offset%8] = EEPROM.read(x); //Read the 8x8 map offset = y - EEPROM_CONFIG8_MAP2; - vvtTable.values[7-(offset/)][offset%8] = EEPROM.read(y); //Read the 8x8 map + vvtTable.values[7-(offset/8)][offset%8] = EEPROM.read(y); //Read the 8x8 map y++; }