Rev 2167 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2167 | Rev 2172 | ||
---|---|---|---|
Line 570... | Line 570... | ||
570 | for (i = 1;i < 6; i++) |
570 | for (i = 1;i < 6; i++) |
571 | { |
571 | { |
572 | if(ee_default || !ParamSet_ReadFromEEProm(i)) // could not read paramset from eeprom |
572 | if(ee_default || !ParamSet_ReadFromEEProm(i)) // could not read paramset from eeprom |
573 | { |
573 | { |
574 | bad_params = 1; |
574 | bad_params = 1; |
575 | printf("\n\rGenerating default Parameter Set %d",i); |
575 | printf("\n\rGenerating default Parm Set %d",i); |
576 | switch(i) |
576 | switch(i) |
577 | { |
577 | { |
578 | case 1: |
578 | case 1: |
579 | ParamSet_DefaultSet1(); // Fill ParamSet Structure to default parameter set 1 (Sport) |
579 | ParamSet_DefaultSet1(); // Fill ParamSet Structure to default parameter set 1 (Sport) |
580 | break; |
580 | break; |
Line 607... | Line 607... | ||
607 | 607 | ||
608 | 608 | ||
609 | // read active parameter set to ParamSet stucture |
609 | // read active parameter set to ParamSet stucture |
610 | i = GetActiveParamSet(); |
610 | i = GetActiveParamSet(); |
Line 611... | Line 611... | ||
611 | ParamSet_ReadFromEEProm(i); |
611 | ParamSet_ReadFromEEProm(i); |
612 | printf("\n\rUsing Parameter Set %d", i); |
612 | printf("\n\rUsing Parm Set %d", i); |
613 | 613 | ||
614 | // load mixer table |
614 | // load mixer table |