Subversion Repositories NaviCtrl

Rev

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

Rev 54 Rev 56
Line 362... Line 362...
362
                                {       // put only new CompassCalState into queue to send via I2C
362
                                {       // put only new CompassCalState into queue to send via I2C
363
                                        CompassCalState = FromFlightCtrl.Param.Byte[0];
363
                                        CompassCalState = FromFlightCtrl.Param.Byte[0];
364
                                        fifo_put(&CompassCalcStateFiFo, CompassCalState);
364
                                        fifo_put(&CompassCalcStateFiFo, CompassCalState);
365
                                }
365
                                }
366
                                NaviData.Altimeter = (s16) FromFlightCtrl.Param.Int[1];
366
                                NaviData.Altimeter = (s16) FromFlightCtrl.Param.Int[1];
-
 
367
                Parameter.NaviPH_LoginTime = FromFlightCtrl.Param.Byte[1];
-
 
368
                        CHK_POTI_MM(Parameter.NaviGpsPLimit,FromFlightCtrl.Param.Byte[4],0,255);
-
 
369
                        CHK_POTI_MM(Parameter.NaviGpsILimit,FromFlightCtrl.Param.Byte[5],0,255);
-
 
370
                        CHK_POTI_MM(Parameter.NaviGpsDLimit,FromFlightCtrl.Param.Byte[6],0,255);
367
                                break;
371
                                break;
Line 368... Line 372...
368
 
372
 
369
                        case SPI_CMD_VERSION:
373
                        case SPI_CMD_VERSION:
370
                                FC_Version.Major = FromFlightCtrl.Param.Byte[0];
374
                                FC_Version.Major = FromFlightCtrl.Param.Byte[0];