Rev 1912 | Rev 1914 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1912 | Rev 1913 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
48 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
49 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
49 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
50 | // + POSSIBILITY OF SUCH DAMAGE. |
50 | // + POSSIBILITY OF SUCH DAMAGE. |
51 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52 | #include "main.h" |
52 | #include "main.h" |
53 | - | ||
54 | - | ||
- | 53 | unsigned char DisableRcOffBeeping = 0; |
|
55 | unsigned char PlatinenVersion = 10; |
54 | unsigned char PlatinenVersion = 10; |
56 | unsigned char SendVersionToNavi = 1; |
55 | unsigned char SendVersionToNavi = 1; |
57 | unsigned char BattLowVoltageWarning = 94; |
56 | unsigned char BattLowVoltageWarning = 94; |
58 | unsigned int FlugMinuten = 0,FlugMinutenGesamt = 0; |
57 | unsigned int FlugMinuten = 0,FlugMinutenGesamt = 0; |
59 | unsigned int FlugSekunden = 0; |
58 | unsigned int FlugSekunden = 0; |
Line 249... | Line 248... | ||
249 | timerPolling = SetDelay(250); |
248 | timerPolling = SetDelay(250); |
Line 250... | Line 249... | ||
250 | 249 | ||
251 | Debug(ANSI_CLEAR "FC-Start!\n\rFlugzeit: %d min", FlugMinutenGesamt); // Note: this won't waste flash memory, if #DEBUG is not active |
250 | Debug(ANSI_CLEAR "FC-Start!\n\rFlugzeit: %d min", FlugMinutenGesamt); // Note: this won't waste flash memory, if #DEBUG is not active |
252 | DebugOut.Status[0] = 0x01 | 0x02; |
251 | DebugOut.Status[0] = 0x01 | 0x02; |
- | 252 | JetiBeep = 0; |
|
253 | JetiBeep = 0; |
253 | if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
254 | while (1) |
254 | while (1) |
Line 255... | Line 255... | ||
255 | { |
255 | { |
Line 332... | Line 332... | ||
332 | { |
332 | { |
333 | ExternControl.Config = 0; |
333 | ExternControl.Config = 0; |
334 | ExternStickNick = 0; |
334 | ExternStickNick = 0; |
335 | ExternStickRoll = 0; |
335 | ExternStickRoll = 0; |
336 | ExternStickGier = 0; |
336 | ExternStickGier = 0; |
337 | if(BeepMuster == 0xffff && SenderOkay == 0) |
337 | if(!SenderOkay) |
338 | { |
338 | { |
- | 339 | if(BeepMuster == 0xffff && !DisableRcOffBeeping) |
|
- | 340 | { |
|
339 | beeptime = 15000; |
341 | beeptime = 15000; |
340 | BeepMuster = 0x0c00; |
342 | BeepMuster = 0x0c00; |
341 | } |
343 | } |
- | 344 | } else DisableRcOffBeeping = 0; |
|
342 | } |
345 | } |
343 | if(NaviDataOkay > 200) |
346 | if(NaviDataOkay > 200) |
344 | { |
347 | { |
345 | NaviDataOkay--; |
348 | NaviDataOkay--; |
346 | VersionInfo.HardwareError[1] &= ~FC_ERROR1_SPI_RX; |
349 | VersionInfo.HardwareError[1] &= ~FC_ERROR1_SPI_RX; |