Rev 2275 | Rev 2309 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2275 | Rev 2296 | ||
---|---|---|---|
Line 555... | Line 555... | ||
555 | 555 | ||
556 | if(EEPARAM_REVISION != GetParamByte(PID_EE_REVISION) ) |
556 | if(EEPARAM_REVISION != GetParamByte(PID_EE_REVISION) ) |
557 | { |
557 | { |
558 | ee_default = 1; // software update or forced by mktool |
558 | ee_default = 1; // software update or forced by mktool |
559 | } |
- | |
560 | - | ||
561 | 559 | } |
|
562 | // 1st check for a valid channel backup in eeprom |
560 | // 1st check for a valid channel backup in eeprom |
563 | i = EEProm_Checksum(EEPROM_ADR_CHANNELS, sizeof(EE_Parameter.Kanalbelegung)); |
561 | i = EEProm_Checksum(EEPROM_ADR_CHANNELS, sizeof(EE_Parameter.Kanalbelegung)); |
Line 564... | Line -... | ||
564 | if(i == eeprom_read_byte((uint8_t*)(EEPROM_ADR_CHANNELS + sizeof(EE_Parameter.Kanalbelegung))) ) channel_backup = 1; |
- | |
565 | 562 | if(i == eeprom_read_byte((uint8_t*)(EEPROM_ADR_CHANNELS + sizeof(EE_Parameter.Kanalbelegung))) ) channel_backup = 1; |
|
Line 566... | Line 563... | ||
566 | 563 | ||
567 | // parameter check |
564 | // parameter check |
568 | 565 |