Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 956 → Rev 957

/branches/V0.70d CRK HexaLotte/spi.c
176,18 → 176,18
switch (FromNaviCtrl.Command)
{
case SPI_CMD_OSD_DATA:
// ToFlightCtrl.Param.Byte[0] = OsdBar;
// ToFlightCtrl.Param.Int[1] = Distance;
// FromFlightCtrl.Param.Byte[0] = OsdBar;
// FromFlightCtrl.Param.Int[1] = Distance;
break;
 
case SPI_CMD_GPS_POS:
// ToFlightCtrl.Param.Long[0] = GPS_Data.Longitude;
// ToFlightCtrl.Param.Long[1] = GPS_Data.Latitude;
// FromFlightCtrl.Param.Long[0] = GPS_Data.Longitude;
// FromFlightCtrl.Param.Long[1] = GPS_Data.Latitude;
break;
 
case SPI_CMD_GPS_TARGET:
// ToFlightCtrl.Param.Long[0] = GPS_Data.TargetLongitude;
// ToFlightCtrl.Param.Long[1] = GPS_Data.TargetLatitude;
// FromFlightCtrl.Param.Long[0] = GPS_Data.TargetLongitude;
// FromFlightCtrl.Param.Long[1] = GPS_Data.TargetLatitude;
break;
 
default: