Subversion Repositories NaviCtrl

Rev

Rev 64 | Rev 78 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 64 Rev 75
Line 322... Line 322...
322
                                }
322
                                }
323
                                FC.MKFlags         |= FromFlightCtrl.Param.Byte[8];
323
                                FC.MKFlags         |= FromFlightCtrl.Param.Byte[8];
324
                                FC.UBat                 = FromFlightCtrl.Param.Byte[9];
324
                                FC.UBat                 = FromFlightCtrl.Param.Byte[9];
325
                                Parameter.LowVoltageWarning = FromFlightCtrl.Param.Byte[10];
325
                                Parameter.LowVoltageWarning = FromFlightCtrl.Param.Byte[10];
326
                                Parameter.ActiveSetting         = FromFlightCtrl.Param.Byte[11];
326
                                Parameter.ActiveSetting         = FromFlightCtrl.Param.Byte[11];
-
 
327
                DebugOut.Analog[5] = FC.MKFlags;
327
                                break;
328
                                break;
Line 328... Line 329...
328
 
329
 
329
 #define CHK_POTI_MM(b,a,min,max) { if(a > 250) { if(a == 251) b = FC.Poti1; else if(a == 252) b = FC.Poti2; else if(a == 253) b = FC.Poti3; else if(a == 254) b = FC.Poti4;} else b = a; if(b <= min) b = min; else if(b >= max) b = max;}
330
 #define CHK_POTI_MM(b,a,min,max) { if(a > 250) { if(a == 251) b = FC.Poti1; else if(a == 252) b = FC.Poti2; else if(a == 253) b = FC.Poti3; else if(a == 254) b = FC.Poti4;} else b = a; if(b <= min) b = min; else if(b >= max) b = max;}
330
                        case SPI_CMD_PARAMETER1:
331
                        case SPI_CMD_PARAMETER1: