Rev 942 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 942 | Rev 957 | ||
---|---|---|---|
Line 174... | Line 174... | ||
174 | if (FromNaviCtrl.BeepTime > BeepTime && !CompassCalState) BeepTime = FromNaviCtrl.BeepTime; |
174 | if (FromNaviCtrl.BeepTime > BeepTime && !CompassCalState) BeepTime = FromNaviCtrl.BeepTime; |
Line 175... | Line 175... | ||
175 | 175 | ||
176 | switch (FromNaviCtrl.Command) |
176 | switch (FromNaviCtrl.Command) |
177 | { |
177 | { |
178 | case SPI_CMD_OSD_DATA: |
178 | case SPI_CMD_OSD_DATA: |
179 | // ToFlightCtrl.Param.Byte[0] = OsdBar; |
179 | // FromFlightCtrl.Param.Byte[0] = OsdBar; |
180 | // ToFlightCtrl.Param.Int[1] = Distance; |
180 | // FromFlightCtrl.Param.Int[1] = Distance; |
Line 181... | Line 181... | ||
181 | break; |
181 | break; |
182 | 182 | ||
183 | case SPI_CMD_GPS_POS: |
183 | case SPI_CMD_GPS_POS: |
184 | // ToFlightCtrl.Param.Long[0] = GPS_Data.Longitude; |
184 | // FromFlightCtrl.Param.Long[0] = GPS_Data.Longitude; |
Line 185... | Line 185... | ||
185 | // ToFlightCtrl.Param.Long[1] = GPS_Data.Latitude; |
185 | // FromFlightCtrl.Param.Long[1] = GPS_Data.Latitude; |
186 | break; |
186 | break; |
187 | 187 | ||
188 | case SPI_CMD_GPS_TARGET: |
188 | case SPI_CMD_GPS_TARGET: |
Line 189... | Line 189... | ||
189 | // ToFlightCtrl.Param.Long[0] = GPS_Data.TargetLongitude; |
189 | // FromFlightCtrl.Param.Long[0] = GPS_Data.TargetLongitude; |
190 | // ToFlightCtrl.Param.Long[1] = GPS_Data.TargetLatitude; |
190 | // FromFlightCtrl.Param.Long[1] = GPS_Data.TargetLatitude; |
191 | break; |
191 | break; |