Subversion Repositories NaviCtrl

Rev

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

Rev 91 Rev 92
Line 291... Line 291...
291
                if (SPI_CommandCounter >= sizeof(SPI_CommandSequence)) SPI_CommandCounter = 0;
291
                if (SPI_CommandCounter >= sizeof(SPI_CommandSequence)) SPI_CommandCounter = 0;
Line 292... Line 292...
292
 
292
 
293
                switch (ToFlightCtrl.Command)
293
                switch (ToFlightCtrl.Command)
294
                {
294
                {
295
                        case  SPI_KALMAN:
295
                        case  SPI_KALMAN:
296
                                ToFlightCtrl.Param.Byte[0] = (char) FC_Kalman_K;
296
                                ToFlightCtrl.Param.sByte[0] = (s8) FC_Kalman_K;
297
                                ToFlightCtrl.Param.Byte[1] = (char) Kalman_MaxFusion;
297
                                ToFlightCtrl.Param.sByte[1] = (s8) Kalman_MaxFusion;
298
                                ToFlightCtrl.Param.Byte[2] = (char) Kalman_MaxDrift;
298
                                ToFlightCtrl.Param.sByte[2] = (s8) Kalman_MaxDrift;
299
                                ToFlightCtrl.Param.Byte[3] = (char) SerialDataOkay;
299
                                ToFlightCtrl.Param.Byte[3] = (u8) SerialLinkOkay;
Line 300... Line 300...
300
                                break;
300
                                break;
301
 
301
 
302
                        default:
302
                        default: