Rev 1660 | Rev 1703 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1660 | Rev 1702 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | { |
45 | { |
46 | case 0: |
46 | case 0: |
47 | LCD_printfxy(0,0,"+ MikroKopter +"); |
47 | LCD_printfxy(0,0,"+ MikroKopter +"); |
48 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",PlatinenVersion/10,PlatinenVersion%10, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH +'a'); |
48 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",PlatinenVersion/10,PlatinenVersion%10, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH +'a'); |
49 | LCD_printfxy(0,2,"Setting:%d %s", GetActiveParamSet(),Mixer.Name); |
49 | LCD_printfxy(0,2,"Setting:%d %s", GetActiveParamSet(),Mixer.Name); |
50 | if(I2CTimeout < 6) LCD_printfxy(0,3,"I2C ERROR!!!") |
50 | if(VersionInfo.HardwareError[0]) LCD_printfxy(0,3,"Hardware Error 1:%d !!",VersionInfo.HardwareError[0]) |
51 | else |
51 | else |
52 | if(MissingMotor) LCD_printfxy(0,3,"Missing BL-Ctrl:%d!!",MissingMotor) |
52 | if(MissingMotor) LCD_printfxy(0,3,"Missing BL-Ctrl:%d!!",MissingMotor) |
- | 53 | else |
|
- | 54 | if(VersionInfo.HardwareError[1] & DEFEKT_MIXER_ERR) LCD_printfxy(0,3,"Mixer Error!") |
|
- | 55 | else |
|
- | 56 | // if(VersionInfo.HardwareError[1]) LCD_printfxy(0,3,"Error 2:%d !!",VersionInfo.HardwareError[1]) |
|
- | 57 | // else |
|
- | 58 | if(I2CTimeout < 6) LCD_printfxy(0,3,"I2C ERROR!!!") |
|
53 | break; |
59 | break; |
54 | case 1: |
60 | case 1: |
55 | if(EE_Parameter.GlobalConfig & CFG_HOEHENREGELUNG) |
61 | if(EE_Parameter.GlobalConfig & CFG_HOEHENREGELUNG) |
56 | { |
62 | { |
57 | LCD_printfxy(0,0,"Height: %5i",(int)(HoehenWert/5)); |
63 | LCD_printfxy(0,0,"Height: %5i",(int)(HoehenWert/5)); |