Rev 1868 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1868 | Rev 1960 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | 124 | ||
125 | switch (MenuItem) { |
125 | switch (MenuItem) { |
126 | case 0:// Version Info Menu Item |
126 | case 0:// Version Info Menu Item |
127 | LCD_printfxy(0,0,"+ MikroKopter +") |
127 | LCD_printfxy(0,0,"+ MikroKopter +") |
128 | ; |
128 | ; |
129 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",BoardRelease/10,BoardRelease%10,VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH+'a') |
129 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",boardRelease/10,boardRelease%10,VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH+'a') |
130 | ; |
130 | ; |
131 | LCD_printfxy(0,2,"Setting: %d %s", getActiveParamSet(), Mixer.Name) |
131 | LCD_printfxy(0,2,"Setting: %d %s", getActiveParamSet(), mixerMatrix.name) |
132 | ; |
132 | ; |
133 | if (I2CTimeout < 6) { |
133 | if (I2CTimeout < 6) { |
134 | LCD_printfxy(0,3,"I2C Error!!!"); |
134 | LCD_printfxy(0,3,"I2C Error!!!"); |
135 | } else if (missingMotor) { |
135 | } else if (missingMotor) { |
Line 162... | Line 162... | ||
162 | LCD_printfxy(0,1,"C3:%4i C4:%4i ",PPM_in[3],PPM_in[4]); |
162 | LCD_printfxy(0,1,"C3:%4i C4:%4i ",PPM_in[3],PPM_in[4]); |
163 | LCD_printfxy(0,2,"C5:%4i C6:%4i ",PPM_in[5],PPM_in[6]); |
163 | LCD_printfxy(0,2,"C5:%4i C6:%4i ",PPM_in[5],PPM_in[6]); |
164 | LCD_printfxy(0,3,"C7:%4i C8:%4i ",PPM_in[7],PPM_in[8]); |
164 | LCD_printfxy(0,3,"C7:%4i C8:%4i ",PPM_in[7],PPM_in[8]); |
165 | break; |
165 | break; |
166 | case 4:// Remote Control Mapping Menu Item |
166 | case 4:// Remote Control Mapping Menu Item |
167 | LCD_printfxy(0,0,"Ni:%4i Ro:%4i ",PPM_in[staticParams.ChannelAssignment[CH_PITCH]],PPM_in[staticParams.ChannelAssignment[CH_ROLL]]); |
167 | LCD_printfxy(0,0,"Ni:%4i Ro:%4i ",PPM_in[channelMap.channels[CH_PITCH]], PPM_in[channelMap.channels[CH_ROLL]]); |
168 | LCD_printfxy(0,1,"Gs:%4i Ya:%4i ",PPM_in[staticParams.ChannelAssignment[CH_THROTTLE]],PPM_in[staticParams.ChannelAssignment[CH_YAW]]); |
168 | LCD_printfxy(0,1,"Gs:%4i Ya:%4i ",PPM_in[channelMap.channels[CH_THROTTLE]],PPM_in[channelMap.channels[CH_YAW]]); |
169 | LCD_printfxy(0,2,"P1:%4i P2:%4i ",PPM_in[staticParams.ChannelAssignment[CH_POTS]],PPM_in[staticParams.ChannelAssignment[CH_POTS+1]]); |
169 | LCD_printfxy(0,2,"P1:%4i P2:%4i ",PPM_in[channelMap.channels[CH_POTS]], PPM_in[channelMap.channels[CH_POTS+1]]); |
170 | LCD_printfxy(0,3,"P3:%4i P4:%4i ",PPM_in[staticParams.ChannelAssignment[CH_POTS+2]],PPM_in[staticParams.ChannelAssignment[CH_POTS+3]]); |
170 | LCD_printfxy(0,3,"P3:%4i P4:%4i ",PPM_in[channelMap.channels[CH_POTS+2]], PPM_in[channelMap.channels[CH_POTS+3]]); |
171 | break; |
171 | break; |
172 | /* |
172 | /* |
173 | case 5:// Gyro Sensor Menu Item |
173 | case 5:// Gyro Sensor Menu Item |
174 | LCD_printfxy(0,0,"Gyro - Sensor"); |
174 | LCD_printfxy(0,0,"Gyro - Sensor"); |
175 | switch(BoardRelease) { |
175 | switch(BoardRelease) { |