[Companion] Cosmetics in EEPROM import

This commit is contained in:
Bertrand Songis
2016-11-20 22:49:26 +01:00
parent f5e1b01cd3
commit d42fc6c471
7 changed files with 142 additions and 128 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ unsigned long LoadEeprom(RadioData & radioData, const uint8_t * eeprom, const in
{
std::bitset<NUM_ERRORS> errors;
foreach(EEPROMInterface *eepromInterface, eepromInterfaces) {
foreach(EEPROMInterface * eepromInterface, eepromInterfaces) {
std::bitset<NUM_ERRORS> result((unsigned long long)eepromInterface->load(radioData, eeprom, size));
if (result.test(ALL_OK)) {
return result.to_ulong();