Only run cppcheck compile once in Travis
This commit is contained in:
parent
d790d9c3b9
commit
6e9ed35648
|
@ -49,8 +49,8 @@ before_install:
|
|||
- wget https://github.com/danmar/cppcheck/archive/1.79.zip
|
||||
- unzip 1.79.zip
|
||||
- cd cppcheck-1.79
|
||||
- make SRCDIR=build CFGDIR=/usr/share/cppcheck/ HAVE_RULES=yes
|
||||
- sudo make install CFGDIR=/usr/share/cppcheck/
|
||||
# - make SRCDIR=build CFGDIR=/usr/share/cppcheck/ HAVE_RULES=yes
|
||||
- sudo make install CFGDIR=/usr/share/cppcheck/ HAVE_RULES=yes
|
||||
|
||||
install:
|
||||
- pip install -U platformio
|
||||
|
|
|
@ -25,7 +25,7 @@ void doUpdates()
|
|||
}
|
||||
|
||||
//Final check is always for 255 and 0 (Brand new arduino)
|
||||
if(EEPROM.read(EEPROM_DATA_VERSION) == 0 || EEPROM.read(EEPROM_DATA_VERSION) == 255)
|
||||
if( (EEPROM.read(EEPROM_DATA_VERSION) == 0) || (EEPROM.read(EEPROM_DATA_VERSION) == 255) )
|
||||
{
|
||||
configPage10.true_address = 0x200;
|
||||
EEPROM.write(EEPROM_DATA_VERSION, CURRENT_DATA_VERSION);
|
||||
|
|
Loading…
Reference in New Issue