Fix for missed number in storage.ino

This commit is contained in:
Josh Stewart 2017-06-17 13:15:27 +10:00
parent 55a58aa9de
commit 08406b957c
2 changed files with 2 additions and 5 deletions

View File

@ -38,10 +38,7 @@ cache:
addons: addons:
apt: apt:
sources: sources:
- sourceline: 'deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse' - sourceline: 'deb http://archive.ubuntu.com/ubuntu trusty-backports trusty-updates main restricted 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'
packages: packages:
- cppcheck - cppcheck

View File

@ -383,7 +383,7 @@ void loadConfig()
offset = x - EEPROM_CONFIG8_MAP1; offset = x - EEPROM_CONFIG8_MAP1;
boostTable.values[7-(offset/8)][offset%8] = EEPROM.read(x); //Read the 8x8 map boostTable.values[7-(offset/8)][offset%8] = EEPROM.read(x); //Read the 8x8 map
offset = y - EEPROM_CONFIG8_MAP2; 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++; y++;
} }