Rev 950 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 950 | Rev 957 | ||
---|---|---|---|
Line 189... | Line 189... | ||
189 | #endif |
189 | #endif |
Line 190... | Line 190... | ||
190 | 190 | ||
191 | #ifdef USE_KILLAGREG |
191 | #ifdef USE_KILLAGREG |
192 | printf("\n\rSupport for MicroMag3 Compass"); |
192 | printf("\n\rSupport for MicroMag3 Compass"); |
- | 193 | #endif |
|
193 | #endif |
194 | |
194 | #ifdef USE_MK3MAG |
195 | #ifdef USE_MK3MAG |
195 | printf("\n\rSupport for MK3MAG Compass"); |
196 | printf("\n\rSupport for MK3MAG Compass"); |
Line 196... | Line 197... | ||
196 | #endif |
197 | #endif |
197 | 198 | ||
198 | 199 | ||
199 | 200 | ||
200 | #if defined (USE_KILLAGREG) || defined (USE_MK3MAG) |
201 | #if (defined (USE_KILLAGREG) || defined (USE_MK3MAG)) |
201 | #if defined (__AVR_ATmega644P__) |
202 | #if defined (__AVR_ATmega644P__) |
Line 281... | Line 282... | ||
281 | 282 | ||
282 | if(CheckDelay(timer)) |
283 | if(CheckDelay(timer)) |
283 | { |
284 | { |
284 | if(UBat < ParamSet.LowVoltageWarning) |
285 | if(UBat < ParamSet.LowVoltageWarning) |
285 | { |
286 | { |
- | 287 | BeepModulation = 0x0300; |
|
286 | if(BeepModulation == 0xFFFF) |
288 | if(!BeepTime ) |
287 | { |
289 | { |
288 | BeepTime = 6000; // 0.6 seconds |
- | |
289 | BeepModulation = 0x0300; |
290 | BeepTime = 6000; // 0.6 seconds |
290 | } |
291 | } |
291 | } |
292 | } |
292 | #ifdef USE_NAVICTRL |
293 | #ifdef USE_NAVICTRL |
293 | SPI_StartTransmitPacket(); |
294 | SPI_StartTransmitPacket(); |