Rev 1152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1152 | Rev 1163 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | // + Wir übernehmen keinerlei Haftung für direkte oder indirekte Personen- oder Sachschäden |
22 | // + Wir übernehmen keinerlei Haftung für direkte oder indirekte Personen- oder Sachschäden |
23 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
23 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
24 | // + Die Portierung der Software (oder Teile davon) auf andere Systeme (ausser der Hardware von www.mikrokopter.de) ist nur |
24 | // + Die Portierung der Software (oder Teile davon) auf andere Systeme (ausser der Hardware von www.mikrokopter.de) ist nur |
25 | // + mit unserer Zustimmung zulässig |
25 | // + mit unserer Zustimmung zulässig |
26 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
26 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
27 | // + Die Funktion printf_P() unterliegt ihrer eigenen Lizenz und ist hiervon nicht betroffen |
27 | // + Die Funktion printf_P() und das Modul rcdsl.c unterliegt ihrer eigenen Lizenz und ist hiervon nicht betroffen |
28 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
28 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
29 | // + Redistributions of source code (with or without modifications) must retain the above copyright notice, |
29 | // + Redistributions of source code (with or without modifications) must retain the above copyright notice, |
30 | // + this list of conditions and the following disclaimer. |
30 | // + this list of conditions and the following disclaimer. |
31 | // + * Neither the name of the copyright holders nor the names of contributors may be used to endorse or promote products derived |
31 | // + * Neither the name of the copyright holders nor the names of contributors may be used to endorse or promote products derived |
32 | // + from this software without specific prior written permission. |
32 | // + from this software without specific prior written permission. |
Line 210... | Line 210... | ||
210 | printf("\n\rAbgleich Luftdrucksensor.."); |
210 | printf("\n\rAbgleich Luftdrucksensor.."); |
211 | timer = SetDelay(1000); |
211 | timer = SetDelay(1000); |
212 | SucheLuftruckOffset(); |
212 | SucheLuftruckOffset(); |
213 | while (!CheckDelay(timer)); |
213 | while (!CheckDelay(timer)); |
Line 214... | Line 214... | ||
214 | 214 | ||
215 | if (PARAM_USE_DSL_RC) { |
215 | if (PARAM_USE_DSL_RC) |
216 | rcdsl_init(); |
- | |
217 | printf("\n\rUsing DSL..."); |
216 | rcdsl_init(); |
218 | } else { |
217 | else |
- | 218 | rc_sum_init(); |
|
219 | rc_sum_init(); |
219 | |
220 | printf("\n\rUsing PPM..."); |
220 | printf("\n\rUsing %s", (PARAM_USE_DSL_RC ? "DSL" : "PPM")); |
221 | } |
221 | |
222 | printf("\n\rOK\n\r"); |
222 | printf("\n\rOK\n\r"); |
Line 223... | Line 223... | ||
223 | } |
223 | } |
Line 224... | Line 224... | ||
224 | 224 |