Subversion Repositories FlightCtrl

Rev

Rev 1832 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1832 Rev 1833
Line 183... Line 183...
183
                                ToNaviCtrl.Param.Byte[10] = ControlHeading;
183
                                ToNaviCtrl.Param.Byte[10] = ControlHeading;
184
        break;
184
        break;
Line 185... Line 185...
185
 
185
 
186
     case SPI_FCCMD_ACCU:
186
     case SPI_FCCMD_ACCU:
187
                        ToNaviCtrl.Param.Int[0] = Capacity.ActualCurrent; // 0.1A
187
                        ToNaviCtrl.Param.Int[0] = Capacity.ActualCurrent; // 0.1A
188
                        ToNaviCtrl.Param.Int[1] = Capacity.RemainCapacity; // mAh
188
                        ToNaviCtrl.Param.Int[1] = Capacity.UsedCapacity; // mAh
189
                        ToNaviCtrl.Param.Byte[4] = (unsigned char) UBat; // 0.1V
189
                        ToNaviCtrl.Param.Byte[4] = (unsigned char) UBat; // 0.1V
190
                        ToNaviCtrl.Param.Byte[5] = (unsigned char) BattLowVoltageWarning; //0.1V
190
                        ToNaviCtrl.Param.Byte[5] = (unsigned char) BattLowVoltageWarning; //0.1V
Line 191... Line 191...
191
        break;
191
        break;