Rev 539 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 539 | Rev 553 | ||
---|---|---|---|
Line 82... | Line 82... | ||
82 | { |
82 | { |
83 | if((cntKompass) && (cntKompass < 4000)) |
83 | if((cntKompass) && (cntKompass < 4000)) |
84 | { |
84 | { |
85 | // Salvo Kompassoffset 30.8.2007 und 21.9.2007 *********** |
85 | // Salvo Kompassoffset 30.8.2007 und 21.9.2007 *********** |
86 | Kompass_present = 255; |
86 | Kompass_present = 255; |
87 | Kompass_Value_Old = KompassValue; |
87 | // Kompass_Value_Old = KompassValue; |
88 | KompassValue = cntKompass -KOMPASS_OFFSET; |
88 | KompassValue = cntKompass -KOMPASS_OFFSET; |
Line 89... | Line 89... | ||
89 | 89 | ||
90 | if (KompassValue < 0) |
90 | if (KompassValue < 0) |
91 | { |
91 | { |