Rev 762 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 762 | Rev 800 | ||
---|---|---|---|
Line 238... | Line 238... | ||
238 | ExternControl.Config = 0; |
238 | ExternControl.Config = 0; |
239 | ExternStickPitch= 0; |
239 | ExternStickPitch= 0; |
240 | ExternStickRoll = 0; |
240 | ExternStickRoll = 0; |
241 | ExternStickYaw = 0; |
241 | ExternStickYaw = 0; |
242 | } |
242 | } |
243 | if(SenderOkay) SenderOkay--; |
- | |
244 | if(!I2CTimeout) |
243 | if(!I2CTimeout) |
245 | { |
244 | { |
246 | I2CTimeout = 5; |
245 | I2CTimeout = 5; |
247 | I2C_Reset(); |
246 | I2C_Reset(); |
248 | if((BeepModulation == 0xFFFF) && MotorsOn) |
247 | if((BeepModulation == 0xFFFF) && MotorsOn) |
Line 266... | Line 265... | ||
266 | { |
265 | { |
267 | if(UBat < ParamSet.LowVoltageWarning) |
266 | if(UBat < ParamSet.LowVoltageWarning) |
268 | { |
267 | { |
269 | if(BeepModulation == 0xFFFF) |
268 | if(BeepModulation == 0xFFFF) |
270 | { |
269 | { |
271 | BeepTime = 6000; // 0.6 seconds |
270 | BeepTime = 6000; // 0.6 seconds |
- | 271 | BeepModulation = 0x0300; |
|
272 | } |
272 | } |
273 | } |
273 | } |
274 | //SPI_StartTransmitPacket();//# |
274 | //SPI_StartTransmitPacket();//# |
275 | timer = SetDelay(100); |
275 | timer = SetDelay(100); |
276 | } |
276 | } |