Subversion Repositories FlightCtrl

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

   1                            .file   "main.c"
   2                    __SREG__ = 0x3f
   3                    __SP_H__ = 0x3e
   4                    __SP_L__ = 0x3d
   5                    __tmp_reg__ = 0
   6                    __zero_reg__ = 1
   7                            .global __do_copy_data
   8                            .global __do_clear_bss
   9                            .text
  10                    .global SetActiveParamSetNumber
  12                    SetActiveParamSetNumber:
  13                    /* prologue: frame size=0 */
  14                    /* prologue end (size=0) */
  15 0000 8630                  cpi r24,lo8(6)
  16 0002 00F0                  brlo .L2
  17 0004 85E0                  ldi r24,lo8(5)
  18                    .L4:
  19 0006 A0E0                  ldi r26,lo8(EEPromArray+2)
  20 0008 B0E0                  ldi r27,hi8(EEPromArray+2)
  21                    /* #APP */
  22 000a 082E                  mov __tmp_reg__,r24
  23 000c 0E94 0000             call __eeprom_write_byte_1F2021
  24                    /* #NOAPP */
  25 0010 0895                  ret
  26                    .L2:
  27 0012 8823                  tst r24
  28 0014 01F4                  brne .L4
  29 0016 0895                  ret
  30                    /* epilogue: frame size=0 */
  31                    /* epilogue: noreturn */
  32                    /* epilogue end (size=0) */
  33                    /* function SetActiveParamSetNumber size 13 (13) */
  35                    .global GetActiveParamSetNumber
  37                    GetActiveParamSetNumber:
  38                    /* prologue: frame size=0 */
  39                    /* prologue end (size=0) */
  40 0018 A0E0                  ldi r26,lo8(EEPromArray+2)
  41 001a B0E0                  ldi r27,hi8(EEPromArray+2)
  42                    /* #APP */
  43 001c 0E94 0000             call __eeprom_read_byte_1F2021
  44 0020 902D                  mov r25,__tmp_reg__
  45                    /* #NOAPP */
  46 0022 892F                  mov r24,r25
  47 0024 8150                  subi r24,lo8(-(-1))
  48 0026 8530                  cpi r24,lo8(5)
  49 0028 00F4                  brsh .L10
  50 002a 892F                  mov r24,r25
  51 002c 90E0                  ldi r25,lo8(0)
  52 002e 0895                  ret
  53                    .L10:
  54 0030 83E0                  ldi r24,lo8(3)
  55 0032 0E94 0000             call SetActiveParamSetNumber
  56 0036 83E0                  ldi r24,lo8(3)
  57 0038 90E0                  ldi r25,hi8(3)
  58 003a 0895                  ret
  59                    /* epilogue: frame size=0 */
  60                    /* epilogue: noreturn */
  61                    /* epilogue end (size=0) */
  62                    /* function GetActiveParamSetNumber size 19 (19) */
  64                    .global CalMk3Mag
  66                    CalMk3Mag:
  67                    /* prologue: frame size=0 */
  68                    /* prologue end (size=0) */
  69 003c 8091 0000             lds r24,EE_Parameter
  70 0040 E82F                  mov r30,r24
  71 0042 F0E0                  ldi r31,lo8(0)
  72 0044 EE0F                  lsl r30
  73 0046 FF1F                  rol r31
  74 0048 E050                  subi r30,lo8(-(PPM_in))
  75 004a F040                  sbci r31,hi8(-(PPM_in))
  76 004c 8081                  ld r24,Z
  77 004e 9181                  ldd r25,Z+1
  78 0050 8D5E                  subi r24,lo8(-19)
  79 0052 9F4F                  sbci r25,hi8(-19)
  80 0054 04F0                  brlt .L15
  81 0056 1092 0000             sts stick.2399,__zero_reg__
  82                    .L15:
  83 005a 8081                  ld r24,Z
  84 005c 9181                  ldd r25,Z+1
  85 005e 8A5B                  subi r24,lo8(-70)
  86 0060 9F4F                  sbci r25,hi8(-70)
  87 0062 04F4                  brge .L24
  88 0064 8091 0000             lds r24,stick.2399
  89 0068 8823                  tst r24
  90 006a 01F4                  brne .L24
  91 006c 81E0                  ldi r24,lo8(1)
  92 006e 8093 0000             sts stick.2399,r24
  93 0072 2091 0000             lds r18,WinkelOut+6
  94 0076 2F5F                  subi r18,lo8(-(1))
  95 0078 2093 0000             sts WinkelOut+6,r18
  96 007c 2530                  cpi r18,lo8(5)
  97 007e 00F0                  brlo .L20
  98 0080 88EE                  ldi r24,lo8(1000)
  99 0082 93E0                  ldi r25,hi8(1000)
 100 0084 9093 0000             sts (beeptime)+1,r25
 101 0088 8093 0000             sts beeptime,r24
 102 008c 00C0                  rjmp .L17
 103                    .L24:
 104 008e 2091 0000             lds r18,WinkelOut+6
 105 0092 00C0                  rjmp .L17
 106                    .L20:
 107 0094 822F                  mov r24,r18
 108 0096 0E94 0000             call Piep
 109 009a 2091 0000             lds r18,WinkelOut+6
 110                    .L17:
 111 009e 822F                  mov r24,r18
 112 00a0 90E0                  ldi r25,lo8(0)
 113 00a2 9093 0000             sts (DebugOut+40)+1,r25
 114 00a6 8093 0000             sts DebugOut+40,r24
 115                    /* epilogue: frame size=0 */
 116 00aa 0895                  ret
 117                    /* epilogue end (size=1) */
 118                    /* function CalMk3Mag size 58 (57) */
 120                    .global WriteParameterSet
 122                    WriteParameterSet:
 123                    /* prologue: frame size=0 */
 124                    /* prologue end (size=0) */
 125 00ac 582F                  mov r21,r24
 126 00ae 9B01                  movw r18,r22
 127 00b0 8630                  cpi r24,lo8(6)
 128 00b2 00F4                  brsh .L32
 129 00b4 8823                  tst r24
 130 00b6 01F0                  breq .L31
 131 00b8 A82F                  mov r26,r24
 132 00ba B0E0                  ldi r27,lo8(0)
 133 00bc 1197                  sbiw r26,1
 134                    .L28:
 135 00be 842F                  mov r24,r20
 136 00c0 90E0                  ldi r25,lo8(0)
 137 00c2 BD01                  movw r22,r26
 138 00c4 689F                  mul r22,r24
 139 00c6 D001                  movw r26,r0
 140 00c8 699F                  mul r22,r25
 141 00ca B00D                  add r27,r0
 142 00cc 789F                  mul r23,r24
 143 00ce B00D                  add r27,r0
 144 00d0 1124                  clr r1
 145 00d2 A050                  subi r26,lo8(-(EEPromArray+100))
 146 00d4 B040                  sbci r27,hi8(-(EEPromArray+100))
 147 00d6 F901                  movw r30,r18
 148                    /* #APP */
 149                            .117_start:
 150 00d8 0197                  sbiw r24,1
 151 00da 04F0                  brlt .117_finished
 152 00dc 0190                  ld __tmp_reg__,z+
 153 00de 0E94 0000             call __eeprom_write_byte_1F2021
 154 00e2 00C0                  rjmp .117_start
 155                            .117_finished:
 156                    /* #NOAPP */
 157 00e4 60E0                  ldi r22,lo8(EEPromArray+98)
 158 00e6 70E0                  ldi r23,hi8(EEPromArray+98)
 159 00e8 DB01                  movw r26,r22
 160                    /* #APP */
 161 00ea 042E                  mov __tmp_reg__,r20
 162 00ec 0E94 0000             call __eeprom_write_byte_1F2021
 163                    /* #NOAPP */
 164 00f0 88E0                  ldi r24,lo8(8)
 165 00f2 6251                  subi r22,lo8(-(-18))
 166 00f4 7040                  sbci r23,hi8(-(-18))
 167 00f6 DB01                  movw r26,r22
 168 00f8 F901                  movw r30,r18
 169                    /* #APP */
 170 00fa 182E                  mov __zero_reg__,r24
 171 00fc 0E94 0000             call __eeprom_write_block_1F2021
 172                    /* #NOAPP */
 173 0100 852F                  mov r24,r21
 174 0102 0E94 0000             call SetActiveParamSetNumber
 175 0106 0E94 0000             call LED_Init
 176                    .L31:
 177 010a 0895                  ret
 178                    .L32:
 179 010c 55E0                  ldi r21,lo8(5)
 180 010e A4E0                  ldi r26,lo8(4)
 181 0110 B0E0                  ldi r27,hi8(4)
 182 0112 00C0                  rjmp .L28
 183                    /* epilogue: frame size=0 */
 184                    /* epilogue: noreturn */
 185                    /* epilogue end (size=0) */
 186                    /* function WriteParameterSet size 62 (62) */
 188                    .global ReadParameterSet
 190                    ReadParameterSet:
 191                    /* prologue: frame size=0 */
 192                    /* prologue end (size=0) */
 193 0114 A82F                  mov r26,r24
 194 0116 FB01                  movw r30,r22
 195 0118 8150                  subi r24,lo8(-(-1))
 196 011a 8530                  cpi r24,lo8(5)
 197 011c 00F0                  brlo .L34
 198 011e A2E0                  ldi r26,lo8(2)
 199 0120 B0E0                  ldi r27,hi8(2)
 200 0122 00C0                  rjmp .L36
 201                    .L34:
 202 0124 B0E0                  ldi r27,lo8(0)
 203 0126 1197                  sbiw r26,1
 204                    .L36:
 205 0128 842F                  mov r24,r20
 206 012a 90E0                  ldi r25,lo8(0)
 207 012c 9D01                  movw r18,r26
 208 012e 289F                  mul r18,r24
 209 0130 D001                  movw r26,r0
 210 0132 299F                  mul r18,r25
 211 0134 B00D                  add r27,r0
 212 0136 389F                  mul r19,r24
 213 0138 B00D                  add r27,r0
 214 013a 1124                  clr r1
 215 013c A050                  subi r26,lo8(-(EEPromArray+100))
 216 013e B040                  sbci r27,hi8(-(EEPromArray+100))
 217                    /* #APP */
 218                            .163_start:
 219 0140 0197                  sbiw r24,1
 220 0142 04F0                  brlt .163_finished
 221 0144 0E94 0000             call __eeprom_read_byte_1F2021
 222 0148 0192                  st z+,__tmp_reg__
 223 014a 00C0                  rjmp .163_start
 224                            .163_finished:
 225                    /* #NOAPP */
 226 014c 0E94 0000             call LED_Init
 227                    /* epilogue: frame size=0 */
 228 0150 0895                  ret
 229                    /* epilogue end (size=1) */
 230                    /* function ReadParameterSet size 39 (38) */
 232                    .global main
 234                    main:
 235                    /* prologue: frame size=2 */
 236 0152 2F92                  push r2
 237 0154 3F92                  push r3
 238 0156 4F92                  push r4
 239 0158 5F92                  push r5
 240 015a 6F92                  push r6
 241 015c 7F92                  push r7
 242 015e 8F92                  push r8
 243 0160 9F92                  push r9
 244 0162 AF92                  push r10
 245 0164 BF92                  push r11
 246 0166 CF92                  push r12
 247 0168 DF92                  push r13
 248 016a EF92                  push r14
 249 016c FF92                  push r15
 250 016e 0F93                  push r16
 251 0170 1F93                  push r17
 252 0172 CF93                  push r28
 253 0174 DF93                  push r29
 254 0176 CDB7                  in r28,__SP_L__
 255 0178 DEB7                  in r29,__SP_H__
 256 017a 2297                  sbiw r28,2
 257 017c 0FB6                  in __tmp_reg__,__SREG__
 258 017e F894                  cli
 259 0180 DEBF                  out __SP_H__,r29
 260 0182 0FBE                  out __SREG__,__tmp_reg__
 261 0184 CDBF                  out __SP_L__,r28
 262                    /* prologue end (size=26) */
 263 0186 14B8                  out 36-0x20,__zero_reg__
 264 0188 15B8                  out 37-0x20,__zero_reg__
 265 018a 189B                  sbis 35-0x20,0
 266 018c 00C0                  rjmp .L39
 267 018e 199B                  sbis 35-0x20,1
 268 0190 00C0                  rjmp .L41
 269 0192 8DE0                  ldi r24,lo8(13)
 270 0194 8093 0000             sts PlatinenVersion,r24
 271                    .L43:
 272 0198 81E8                  ldi r24,lo8(-127)
 273 019a 87B9                  out 39-0x20,r24
 274 019c 3E9A                  sbi 39-0x20,6
 275 019e 8FEF                  ldi r24,lo8(-1)
 276 01a0 88B9                  out 40-0x20,r24
 277 01a2 8BE1                  ldi r24,lo8(27)
 278 01a4 84B9                  out 36-0x20,r24
 279 01a6 81E0                  ldi r24,lo8(1)
 280 01a8 85B9                  out 37-0x20,r24
 281 01aa 8EE3                  ldi r24,lo8(62)
 282 01ac 8AB9                  out 42-0x20,r24
 283 01ae 579A                  sbi 42-0x20,7
 284 01b0 87E4                  ldi r24,lo8(71)
 285 01b2 8BB9                  out 43-0x20,r24
 286 01b4 469A                  sbi 40-0x20,6
 287 01b6 84B7                  in r24,84-0x20
 288 01b8 877F                  andi r24,lo8(-9)
 289 01ba 84BF                  out 84-0x20,r24
 290 01bc 8091 6000             lds r24,96
 291 01c0 8861                  ori r24,lo8(24)
 292 01c2 8093 6000             sts 96,r24
 293 01c6 1092 6000             sts 96,__zero_reg__
 294 01ca 80ED                  ldi r24,lo8(2000)
 295 01cc 97E0                  ldi r25,hi8(2000)
 296 01ce 9093 0000             sts (beeptime)+1,r25
 297 01d2 8093 0000             sts beeptime,r24
 298 01d6 1092 0000             sts (StickGier)+1,__zero_reg__
 299 01da 1092 0000             sts StickGier,__zero_reg__
 300 01de 1092 0000             sts (PPM_in+4)+1,__zero_reg__
 301 01e2 1092 0000             sts PPM_in+4,__zero_reg__
 302 01e6 1092 0000             sts (StickRoll)+1,__zero_reg__
 303 01ea 1092 0000             sts StickRoll,__zero_reg__
 304 01ee 1092 0000             sts (StickNick)+1,__zero_reg__
 305 01f2 1092 0000             sts StickNick,__zero_reg__
 306 01f6 2091 0000             lds r18,PlatinenVersion
 307 01fa 2431                  cpi r18,lo8(20)
 308 01fc 00F4                  brsh .+2
 309 01fe 00C0                  rjmp .L46
 310 0200 88E8                  ldi r24,lo8(1160)
 311 0202 94E0                  ldi r25,hi8(1160)
 312 0204 A0E0                  ldi r26,hlo8(1160)
 313 0206 B0E0                  ldi r27,hhi8(1160)
 314 0208 8093 0000             sts GIER_GRAD_FAKTOR,r24
 315 020c 9093 0000             sts (GIER_GRAD_FAKTOR)+1,r25
 316 0210 A093 0000             sts (GIER_GRAD_FAKTOR)+2,r26
 317 0214 B093 0000             sts (GIER_GRAD_FAKTOR)+3,r27
 318                    .L48:
 319 0218 2A30                  cpi r18,lo8(10)
 320 021a 01F4                  brne .+2
 321 021c 00C0                  rjmp .L49
 322 021e 2431                  cpi r18,lo8(20)
 323 0220 01F4                  brne .+2
 324 0222 00C0                  rjmp .L49
 325 0224 289A                  sbi 37-0x20,0
 326                    .L52:
 327 0226 0E94 0000             call Timer_Init
 328 022a 0E94 0000             call TIMER2_Init
 329 022e 0E94 0000             call UART_Init
 330 0232 0E94 0000             call rc_sum_init
 331 0236 0E94 0000             call ADC_Init
 332 023a 0E94 0000             call i2c_init
 333 023e 0E94 0000             call SPI_MasterInit
 334                    /* #APP */
 335 0242 7894                  sei
 336                    /* #NOAPP */
 337 0244 2091 0000             lds r18,PlatinenVersion
 338 0248 822F                  mov r24,r18
 339 024a 6AE0                  ldi r22,lo8(10)
 340 024c 0E94 0000             call __udivmodqi4
 341 0250 492F                  mov r20,r25
 342 0252 50E0                  ldi r21,lo8(0)
 343 0254 822F                  mov r24,r18
 344 0256 0E94 0000             call __udivmodqi4
 345 025a 90E0                  ldi r25,lo8(0)
 346 025c 20E7                  ldi r18,lo8(112)
 347 025e 30E0                  ldi r19,hi8(112)
 348 0260 3F93                  push r19
 349 0262 2F93                  push r18
 350 0264 28E4                  ldi r18,lo8(72)
 351 0266 30E0                  ldi r19,hi8(72)
 352 0268 3F93                  push r19
 353 026a 2F93                  push r18
 354 026c 1F92                  push __zero_reg__
 355 026e 1F92                  push __zero_reg__
 356 0270 5F93                  push r21
 357 0272 4F93                  push r20
 358 0274 9F93                  push r25
 359 0276 8F93                  push r24
 360 0278 80E0                  ldi r24,lo8(__c.2416)
 361 027a 90E0                  ldi r25,hi8(__c.2416)
 362 027c 9F93                  push r25
 363 027e 8F93                  push r24
 364 0280 1F92                  push __zero_reg__
 365 0282 0E94 0000             call _printf_P
 366 0286 8091 C800             lds r24,200
 367 028a 2DB7                  in r18,__SP_L__
 368 028c 3EB7                  in r19,__SP_H__
 369 028e 235F                  subi r18,lo8(-(13))
 370 0290 3F4F                  sbci r19,hi8(-(13))
 371 0292 0FB6                  in __tmp_reg__,__SREG__
 372 0294 F894                  cli
 373 0296 3EBF                  out __SP_H__,r19
 374 0298 0FBE                  out __SREG__,__tmp_reg__
 375 029a 2DBF                  out __SP_L__,r18
 376 029c 8032                  cpi r24,lo8(32)
 377 029e 01F4                  brne .+2
 378 02a0 00C0                  rjmp .L136
 379                    .L53:
 380 02a2 80E0                  ldi r24,lo8(__c.2419)
 381 02a4 90E0                  ldi r25,hi8(__c.2419)
 382 02a6 9F93                  push r25
 383 02a8 8F93                  push r24
 384 02aa 1F92                  push __zero_reg__
 385 02ac 0E94 0000             call _printf_P
 386 02b0 0F90                  pop __tmp_reg__
 387 02b2 0F90                  pop __tmp_reg__
 388 02b4 0F90                  pop __tmp_reg__
 389 02b6 8091 0000             lds r24,PlatinenVersion
 390 02ba 8C30                  cpi r24,lo8(12)
 391 02bc 00F0                  brlo .+2
 392 02be 00C0                  rjmp .L56
 393 02c0 299A                  sbi 37-0x20,1
 394                    .L58:
 395 02c2 49E0                  ldi r20,lo8(9)
 396 02c4 60E0                  ldi r22,lo8(EE_Parameter)
 397 02c6 70E0                  ldi r23,hi8(EE_Parameter)
 398 02c8 83E0                  ldi r24,lo8(3)
 399 02ca 0E94 0000             call ReadParameterSet
 400 02ce 70E0                  ldi r23,lo8(EEPromArray+1)
 401 02d0 C72E                  mov r12,r23
 402 02d2 70E0                  ldi r23,hi8(EEPromArray+1)
 403 02d4 D72E                  mov r13,r23
 404 02d6 D601                  movw r26,r12
 405                    /* #APP */
 406 02d8 0E94 0000             call __eeprom_read_byte_1F2021
 407 02dc 802D                  mov r24,__tmp_reg__
 408                    /* #NOAPP */
 409 02de 8A34                  cpi r24,lo8(74)
 410 02e0 01F4                  brne .+2
 411 02e2 00C0                  rjmp .L59
 412 02e4 0E94 0000             call DefaultKonstanten1
 413 02e8 80E0                  ldi r24,lo8(__c.2421)
 414 02ea 90E0                  ldi r25,hi8(__c.2421)
 415 02ec 9F93                  push r25
 416 02ee 8F93                  push r24
 417 02f0 1F92                  push __zero_reg__
 418 02f2 0E94 0000             call _printf_P
 419 02f6 1A82                  std Y+2,__zero_reg__
 420 02f8 1982                  std Y+1,__zero_reg__
 421 02fa 0F90                  pop __tmp_reg__
 422 02fc 0F90                  pop __tmp_reg__
 423 02fe 0F90                  pop __tmp_reg__
 424 0300 60E0                  ldi r22,lo8(EEPromArray+80)
 425 0302 A62E                  mov r10,r22
 426 0304 60E0                  ldi r22,hi8(EEPromArray+80)
 427 0306 B62E                  mov r11,r22
 428 0308 50E0                  ldi r21,lo8(EEPromArray+81)
 429 030a 852E                  mov r8,r21
 430 030c 50E0                  ldi r21,hi8(EEPromArray+81)
 431 030e 952E                  mov r9,r21
 432 0310 40E0                  ldi r20,lo8(EEPromArray+82)
 433 0312 642E                  mov r6,r20
 434 0314 40E0                  ldi r20,hi8(EEPromArray+82)
 435 0316 742E                  mov r7,r20
 436 0318 30E0                  ldi r19,lo8(EEPromArray+83)
 437 031a 432E                  mov r4,r19
 438 031c 30E0                  ldi r19,hi8(EEPromArray+83)
 439 031e 532E                  mov r5,r19
 440 0320 20E0                  ldi r18,lo8(EEPromArray+84)
 441 0322 222E                  mov r2,r18
 442 0324 20E0                  ldi r18,hi8(EEPromArray+84)
 443 0326 322E                  mov r3,r18
 444 0328 90E0                  ldi r25,lo8(EEPromArray+87)
 445 032a E92E                  mov r14,r25
 446 032c 90E0                  ldi r25,hi8(EEPromArray+87)
 447 032e F92E                  mov r15,r25
 448                    .L61:
 449 0330 0981                  ldd r16,Y+1
 450 0332 102F                  mov r17,r16
 451 0334 1F5F                  subi r17,lo8(-(1))
 452 0336 1230                  cpi r17,lo8(2)
 453 0338 01F4                  brne .+2
 454 033a 00C0                  rjmp .L134
 455 033c 1330                  cpi r17,lo8(3)
 456 033e 01F4                  brne .+2
 457 0340 00C0                  rjmp .L137
 458 0342 1430                  cpi r17,lo8(4)
 459 0344 00F0                  brlo .+2
 460 0346 00C0                  rjmp .L134
 461                    .L65:
 462 0348 8091 0000             lds r24,PlatinenVersion
 463 034c 8431                  cpi r24,lo8(20)
 464 034e 00F0                  brlo .L69
 465 0350 85E0                  ldi r24,lo8(5)
 466 0352 8093 0000             sts EE_Parameter+24,r24
 467 0356 1092 0000             sts EE_Parameter+48,__zero_reg__
 468 035a 8BE1                  ldi r24,lo8(27)
 469 035c 8093 0000             sts EE_Parameter+20,r24
 470 0360 8EE4                  ldi r24,lo8(78)
 471 0362 8093 0000             sts EE_Parameter+45,r24
 472 0366 8093 0000             sts EE_Parameter+46,r24
 473                    .L69:
 474 036a D501                  movw r26,r10
 475                    /* #APP */
 476 036c 0E94 0000             call __eeprom_read_byte_1F2021
 477 0370 802D                  mov r24,__tmp_reg__
 478                    /* #NOAPP */
 479 0372 8C30                  cpi r24,lo8(12)
 480 0374 00F0                  brlo .+2
 481 0376 00C0                  rjmp .L71
 482 0378 D401                  movw r26,r8
 483                    /* #APP */
 484 037a 0E94 0000             call __eeprom_read_byte_1F2021
 485 037e 802D                  mov r24,__tmp_reg__
 486                    /* #NOAPP */
 487 0380 8C30                  cpi r24,lo8(12)
 488 0382 00F0                  brlo .+2
 489 0384 00C0                  rjmp .L71
 490 0386 D301                  movw r26,r6
 491                    /* #APP */
 492 0388 0E94 0000             call __eeprom_read_byte_1F2021
 493 038c 802D                  mov r24,__tmp_reg__
 494                    /* #NOAPP */
 495 038e 8C30                  cpi r24,lo8(12)
 496 0390 00F0                  brlo .+2
 497 0392 00C0                  rjmp .L71
 498 0394 D201                  movw r26,r4
 499                    /* #APP */
 500 0396 0E94 0000             call __eeprom_read_byte_1F2021
 501 039a 802D                  mov r24,__tmp_reg__
 502                    /* #NOAPP */
 503 039c 8C30                  cpi r24,lo8(12)
 504 039e 00F0                  brlo .+2
 505 03a0 00C0                  rjmp .L71
 506 03a2 A0E0                  ldi r26,lo8(EEPromArray+80)
 507 03a4 B0E0                  ldi r27,hi8(EEPromArray+80)
 508                    /* #APP */
 509 03a6 0E94 0000             call __eeprom_read_byte_1F2021
 510 03aa 802D                  mov r24,__tmp_reg__
 511                    /* #NOAPP */
 512 03ac 8093 0000             sts EE_Parameter,r24
 513 03b0 A0E0                  ldi r26,lo8(EEPromArray+81)
 514 03b2 B0E0                  ldi r27,hi8(EEPromArray+81)
 515                    /* #APP */
 516 03b4 0E94 0000             call __eeprom_read_byte_1F2021
 517 03b8 802D                  mov r24,__tmp_reg__
 518                    /* #NOAPP */
 519 03ba 8093 0000             sts EE_Parameter+1,r24
 520 03be A0E0                  ldi r26,lo8(EEPromArray+82)
 521 03c0 B0E0                  ldi r27,hi8(EEPromArray+82)
 522                    /* #APP */
 523 03c2 0E94 0000             call __eeprom_read_byte_1F2021
 524 03c6 802D                  mov r24,__tmp_reg__
 525                    /* #NOAPP */
 526 03c8 8093 0000             sts EE_Parameter+2,r24
 527 03cc A0E0                  ldi r26,lo8(EEPromArray+83)
 528 03ce B0E0                  ldi r27,hi8(EEPromArray+83)
 529                    /* #APP */
 530 03d0 0E94 0000             call __eeprom_read_byte_1F2021
 531 03d4 802D                  mov r24,__tmp_reg__
 532                    /* #NOAPP */
 533 03d6 8093 0000             sts EE_Parameter+3,r24
 534 03da D101                  movw r26,r2
 535                    /* #APP */
 536 03dc 0E94 0000             call __eeprom_read_byte_1F2021
 537 03e0 802D                  mov r24,__tmp_reg__
 538                    /* #NOAPP */
 539 03e2 8093 0000             sts EE_Parameter+4,r24
 540 03e6 A0E0                  ldi r26,lo8(EEPromArray+85)
 541 03e8 B0E0                  ldi r27,hi8(EEPromArray+85)
 542                    /* #APP */
 543 03ea 0E94 0000             call __eeprom_read_byte_1F2021
 544 03ee 802D                  mov r24,__tmp_reg__
 545                    /* #NOAPP */
 546 03f0 8093 0000             sts EE_Parameter+5,r24
 547 03f4 A0E0                  ldi r26,lo8(EEPromArray+86)
 548 03f6 B0E0                  ldi r27,hi8(EEPromArray+86)
 549                    /* #APP */
 550 03f8 0E94 0000             call __eeprom_read_byte_1F2021
 551 03fc 802D                  mov r24,__tmp_reg__
 552                    /* #NOAPP */
 553 03fe 8093 0000             sts EE_Parameter+6,r24
 554 0402 D701                  movw r26,r14
 555                    /* #APP */
 556 0404 0E94 0000             call __eeprom_read_byte_1F2021
 557 0408 802D                  mov r24,__tmp_reg__
 558                    /* #NOAPP */
 559 040a 8093 0000             sts EE_Parameter+7,r24
 560 040e 1130                  cpi r17,lo8(1)
 561 0410 01F4                  brne .+2
 562 0412 00C0                  rjmp .L138
 563                    .L76:
 564 0414 4CE5                  ldi r20,lo8(92)
 565 0416 60E0                  ldi r22,lo8(EE_Parameter)
 566 0418 70E0                  ldi r23,hi8(EE_Parameter)
 567 041a 812F                  mov r24,r17
 568 041c 0E94 0000             call WriteParameterSet
 569 0420 0E5F                  subi r16,lo8(-(2))
 570 0422 0630                  cpi r16,lo8(6)
 571 0424 00F4                  brsh .L139
 572                    .L62:
 573 0426 8981                  ldd r24,Y+1
 574 0428 9A81                  ldd r25,Y+2
 575 042a 0196                  adiw r24,1
 576 042c 9A83                  std Y+2,r25
 577 042e 8983                  std Y+1,r24
 578 0430 00C0                  rjmp .L61
 579                    .L71:
 580 0432 0E94 0000             call DefaultStickMapping
 581 0436 00C0                  rjmp .L76
 582                    .L139:
 583 0438 83E0                  ldi r24,lo8(3)
 584 043a 0E94 0000             call SetActiveParamSetNumber
 585 043e 8AE4                  ldi r24,lo8(74)
 586 0440 D601                  movw r26,r12
 587                    /* #APP */
 588 0442 082E                  mov __tmp_reg__,r24
 589 0444 0E94 0000             call __eeprom_write_byte_1F2021
 590                    /* #NOAPP */
 591                    .L59:
 592 0448 A0E0                  ldi r26,lo8(EEPromArray+4)
 593 044a B0E0                  ldi r27,hi8(EEPromArray+4)
 594                    /* #APP */
 595 044c 0E94 0000             call __eeprom_read_byte_1F2021
 596 0450 802D                  mov r24,__tmp_reg__
 597                    /* #NOAPP */
 598 0452 8530                  cpi r24,lo8(5)
 599 0454 00F0                  brlo .+2
 600 0456 00C0                  rjmp .L140
 601                    .L79:
 602 0458 0E94 0000             call GetActiveParamSetNumber
 603 045c 4CE5                  ldi r20,lo8(92)
 604 045e 60E0                  ldi r22,lo8(EE_Parameter)
 605 0460 70E0                  ldi r23,hi8(EE_Parameter)
 606 0462 0E94 0000             call ReadParameterSet
 607 0466 0E94 0000             call GetActiveParamSetNumber
 608 046a 90E0                  ldi r25,lo8(0)
 609 046c 9F93                  push r25
 610 046e 8F93                  push r24
 611 0470 80E0                  ldi r24,lo8(__c.2433)
 612 0472 90E0                  ldi r25,hi8(__c.2433)
 613 0474 9F93                  push r25
 614 0476 8F93                  push r24
 615 0478 1F92                  push __zero_reg__
 616 047a 0E94 0000             call _printf_P
 617 047e 8091 0000             lds r24,EE_Parameter+8
 618 0482 0F90                  pop __tmp_reg__
 619 0484 0F90                  pop __tmp_reg__
 620 0486 0F90                  pop __tmp_reg__
 621 0488 0F90                  pop __tmp_reg__
 622 048a 0F90                  pop __tmp_reg__
 623 048c 80FD                  sbrc r24,0
 624 048e 00C0                  rjmp .L81
 625 0490 08EE                  ldi r16,lo8(1000)
 626 0492 13E0                  ldi r17,hi8(1000)
 627                    .L83:
 628 0494 0E94 0000             call SetNeutral
 629 0498 8091 0000             lds r24,PlatinenVersion
 630 049c 8A30                  cpi r24,lo8(10)
 631 049e 01F4                  brne .+2
 632 04a0 00C0                  rjmp .L86
 633 04a2 8431                  cpi r24,lo8(20)
 634 04a4 01F4                  brne .+2
 635 04a6 00C0                  rjmp .L86
 636 04a8 289A                  sbi 37-0x20,0
 637                    .L89:
 638 04aa 80ED                  ldi r24,lo8(2000)
 639 04ac 97E0                  ldi r25,hi8(2000)
 640 04ae 9093 0000             sts (beeptime)+1,r25
 641 04b2 8093 0000             sts beeptime,r24
 642 04b6 85E5                  ldi r24,lo8(85)
 643 04b8 8093 0000             sts ExternControl,r24
 644 04bc 80E0                  ldi r24,lo8(__c.2442)
 645 04be 90E0                  ldi r25,hi8(__c.2442)
 646 04c0 9F93                  push r25
 647 04c2 8F93                  push r24
 648 04c4 1F92                  push __zero_reg__
 649 04c6 0E94 0000             call _printf_P
 650 04ca 8091 0000             lds r24,EE_Parameter+8
 651 04ce 0F90                  pop __tmp_reg__
 652 04d0 0F90                  pop __tmp_reg__
 653 04d2 0F90                  pop __tmp_reg__
 654 04d4 82FF                  sbrs r24,2
 655 04d6 00C0                  rjmp .L90
 656 04d8 80E0                  ldi r24,lo8(__c.2444)
 657 04da 90E0                  ldi r25,hi8(__c.2444)
 658 04dc 9F93                  push r25
 659 04de 8F93                  push r24
 660 04e0 1F92                  push __zero_reg__
 661 04e2 0E94 0000             call _printf_P
 662 04e6 0F90                  pop __tmp_reg__
 663 04e8 0F90                  pop __tmp_reg__
 664 04ea 0F90                  pop __tmp_reg__
 665                    .L92:
 666 04ec 80E0                  ldi r24,lo8(__c.2448)
 667 04ee 90E0                  ldi r25,hi8(__c.2448)
 668 04f0 9F93                  push r25
 669 04f2 8F93                  push r24
 670 04f4 1F92                  push __zero_reg__
 671 04f6 0E94 0000             call _printf_P
 672 04fa 0E94 0000             call LcdClear
 673 04fe 88E8                  ldi r24,lo8(5000)
 674 0500 93E1                  ldi r25,hi8(5000)
 675 0502 9093 0000             sts (I2CTimeout)+1,r25
 676 0506 8093 0000             sts I2CTimeout,r24
 677 050a 81E0                  ldi r24,lo8(1)
 678 050c 8093 0000             sts WinkelOut+7,r24
 679 0510 0F90                  pop __tmp_reg__
 680 0512 0F90                  pop __tmp_reg__
 681 0514 0F90                  pop __tmp_reg__
 682                    .L135:
 683 0516 8091 0000             lds r24,UpdateMotor
 684 051a 8823                  tst r24
 685 051c 01F4                  brne .+2
 686 051e 00C0                  rjmp .L94
 687                    .L143:
 688 0520 8091 0000             lds r24,AdReady
 689 0524 8823                  tst r24
 690 0526 01F4                  brne .+2
 691 0528 00C0                  rjmp .L94
 692 052a 1092 0000             sts UpdateMotor,__zero_reg__
 693 052e 8091 0000             lds r24,WinkelOut+6
 694 0532 8823                  tst r24
 695 0534 01F4                  brne .+2
 696 0536 00C0                  rjmp .L97
 697 0538 0E94 0000             call CalMk3Mag
 698 053c 0E94 0000             call SendMotorData
 699 0540 2091 0000             lds r18,PlatinenVersion
 700 0544 2A30                  cpi r18,lo8(10)
 701 0546 01F4                  brne .+2
 702 0548 00C0                  rjmp .L100
 703                    .L144:
 704 054a 2431                  cpi r18,lo8(20)
 705 054c 01F4                  brne .+2
 706 054e 00C0                  rjmp .L100
 707 0550 289A                  sbi 37-0x20,0
 708 0552 8091 0000             lds r24,PcZugriff
 709 0556 8823                  tst r24
 710 0558 01F4                  brne .+2
 711 055a 00C0                  rjmp .L104
 712                    .L145:
 713 055c 8150                  subi r24,lo8(-(-1))
 714 055e 8093 0000             sts PcZugriff,r24
 715                    .L106:
 716 0562 8091 0000             lds r24,SenderOkay
 717 0566 8823                  tst r24
 718 0568 01F0                  breq .L107
 719 056a 8091 0000             lds r24,SenderOkay
 720 056e 8150                  subi r24,lo8(-(-1))
 721 0570 8093 0000             sts SenderOkay,r24
 722                    .L107:
 723 0574 8091 0000             lds r24,I2CTimeout
 724 0578 9091 0000             lds r25,(I2CTimeout)+1
 725 057c 892B                  or r24,r25
 726 057e 01F4                  brne .+2
 727 0580 00C0                  rjmp .L141
 728 0582 8091 0000             lds r24,I2CTimeout
 729 0586 9091 0000             lds r25,(I2CTimeout)+1
 730 058a 0197                  sbiw r24,1
 731 058c 9093 0000             sts (I2CTimeout)+1,r25
 732 0590 8093 0000             sts I2CTimeout,r24
 733 0594 2A30                  cpi r18,lo8(10)
 734 0596 01F4                  brne .+2
 735 0598 00C0                  rjmp .L114
 736 059a 2431                  cpi r18,lo8(20)
 737 059c 01F4                  brne .+2
 738 059e 00C0                  rjmp .L114
 739 05a0 289A                  sbi 37-0x20,0
 740                    .L111:
 741 05a2 8091 0000             lds r24,UpdateMotor
 742 05a6 8823                  tst r24
 743 05a8 01F0                  breq .L117
 744 05aa 8091 0000             lds r24,MotorenEin
 745 05ae 8823                  tst r24
 746 05b0 01F0                  breq .+2
 747 05b2 00C0                  rjmp .L119
 748                    .L117:
 749 05b4 0E94 0000             call DatenUebertragung
 750 05b8 0E94 0000             call BearbeiteRxDaten
 751                    .L120:
 752 05bc C801                  movw r24,r16
 753 05be 0E94 0000             call CheckDelay
 754 05c2 8823                  tst r24
 755 05c4 01F0                  breq .L121
 756 05c6 2091 0000             lds r18,UBat
 757 05ca 3091 0000             lds r19,(UBat)+1
 758 05ce 8091 0000             lds r24,EE_Parameter+25
 759 05d2 90E0                  ldi r25,lo8(0)
 760 05d4 2817                  cp r18,r24
 761 05d6 3907                  cpc r19,r25
 762 05d8 04F4                  brge .L123
 763 05da 8091 0000             lds r24,BeepMuster
 764 05de 9091 0000             lds r25,(BeepMuster)+1
 765 05e2 8F5F                  subi r24,lo8(-1)
 766 05e4 9F4F                  sbci r25,hi8(-1)
 767 05e6 01F4                  brne .+2
 768 05e8 00C0                  rjmp .L142
 769                    .L123:
 770 05ea 0E94 0000             call SPI_StartTransmitPacket
 771 05ee 84E0                  ldi r24,lo8(4)
 772 05f0 8093 0000             sts SendSPI,r24
 773 05f4 84E1                  ldi r24,lo8(20)
 774 05f6 90E0                  ldi r25,hi8(20)
 775 05f8 0E94 0000             call SetDelay
 776 05fc 8C01                  movw r16,r24
 777                    .L121:
 778 05fe 0E94 0000             call LED_Update
 779                    .L94:
 780 0602 8091 0000             lds r24,SendSPI
 781 0606 8823                  tst r24
 782 0608 01F0                  breq .+2
 783 060a 00C0                  rjmp .L135
 784 060c 0E94 0000             call SPI_TransmitByte
 785 0610 8091 0000             lds r24,UpdateMotor
 786 0614 8823                  tst r24
 787 0616 01F0                  breq .L94
 788 0618 00C0                  rjmp .L143
 789                    .L97:
 790 061a 0E94 0000             call MotorRegler
 791 061e 0E94 0000             call SendMotorData
 792 0622 2091 0000             lds r18,PlatinenVersion
 793 0626 2A30                  cpi r18,lo8(10)
 794 0628 01F0                  breq .+2
 795 062a 00C0                  rjmp .L144
 796                    .L100:
 797 062c 2898                  cbi 37-0x20,0
 798 062e 8091 0000             lds r24,PcZugriff
 799 0632 8823                  tst r24
 800 0634 01F0                  breq .+2
 801 0636 00C0                  rjmp .L145
 802                    .L104:
 803 0638 1092 0000             sts ExternControl+10,__zero_reg__
 804 063c 1092 0000             sts (ExternStickNick)+1,__zero_reg__
 805 0640 1092 0000             sts ExternStickNick,__zero_reg__
 806 0644 1092 0000             sts (ExternStickRoll)+1,__zero_reg__
 807 0648 1092 0000             sts ExternStickRoll,__zero_reg__
 808 064c 1092 0000             sts (ExternStickGier)+1,__zero_reg__
 809 0650 1092 0000             sts ExternStickGier,__zero_reg__
 810 0654 00C0                  rjmp .L106
 811                    .L114:
 812 0656 2898                  cbi 37-0x20,0
 813 0658 00C0                  rjmp .L111
 814                    .L141:
 815 065a 85E0                  ldi r24,lo8(5)
 816 065c 90E0                  ldi r25,hi8(5)
 817 065e 9093 0000             sts (I2CTimeout)+1,r25
 818 0662 8093 0000             sts I2CTimeout,r24
 819 0666 0E94 0000             call i2c_reset
 820 066a 8091 0000             lds r24,BeepMuster
 821 066e 9091 0000             lds r25,(BeepMuster)+1
 822 0672 8F5F                  subi r24,lo8(-1)
 823 0674 9F4F                  sbci r25,hi8(-1)
 824 0676 01F0                  breq .+2
 825 0678 00C0                  rjmp .L111
 826 067a 8091 0000             lds r24,MotorenEin
 827 067e 8823                  tst r24
 828 0680 01F4                  brne .+2
 829 0682 00C0                  rjmp .L111
 830 0684 80E1                  ldi r24,lo8(10000)
 831 0686 97E2                  ldi r25,hi8(10000)
 832 0688 9093 0000             sts (beeptime)+1,r25
 833 068c 8093 0000             sts beeptime,r24
 834 0690 80E8                  ldi r24,lo8(128)
 835 0692 90E0                  ldi r25,hi8(128)
 836 0694 9093 0000             sts (BeepMuster)+1,r25
 837 0698 8093 0000             sts BeepMuster,r24
 838 069c 00C0                  rjmp .L111
 839                    .L119:
 840 069e 0E94 0000             call BearbeiteRxDaten
 841 06a2 00C0                  rjmp .L120
 842                    .L142:
 843 06a4 80E7                  ldi r24,lo8(6000)
 844 06a6 97E1                  ldi r25,hi8(6000)
 845 06a8 9093 0000             sts (beeptime)+1,r25
 846 06ac 8093 0000             sts beeptime,r24
 847 06b0 80E0                  ldi r24,lo8(768)
 848 06b2 93E0                  ldi r25,hi8(768)
 849 06b4 9093 0000             sts (BeepMuster)+1,r25
 850 06b8 8093 0000             sts BeepMuster,r24
 851 06bc 00C0                  rjmp .L123
 852                    .L134:
 853 06be 0E94 0000             call DefaultKonstanten2
 854 06c2 00C0                  rjmp .L65
 855                    .L90:
 856 06c4 80E0                  ldi r24,lo8(__c.2446)
 857 06c6 90E0                  ldi r25,hi8(__c.2446)
 858 06c8 9F93                  push r25
 859 06ca 8F93                  push r24
 860 06cc 1F92                  push __zero_reg__
 861 06ce 0E94 0000             call _printf_P
 862 06d2 0F90                  pop __tmp_reg__
 863 06d4 0F90                  pop __tmp_reg__
 864 06d6 0F90                  pop __tmp_reg__
 865 06d8 00C0                  rjmp .L92
 866                    .L86:
 867 06da 2898                  cbi 37-0x20,0
 868 06dc 00C0                  rjmp .L89
 869                    .L56:
 870 06de 2998                  cbi 37-0x20,1
 871 06e0 00C0                  rjmp .L58
 872                    .L136:
 873 06e2 8091 CA00             lds r24,202
 874 06e6 8630                  cpi r24,lo8(6)
 875 06e8 01F0                  breq .+2
 876 06ea 00C0                  rjmp .L53
 877 06ec 0E94 0000             call Uart1Init
 878 06f0 00C0                  rjmp .L53
 879                    .L81:
 880 06f2 80E0                  ldi r24,lo8(__c.2435)
 881 06f4 90E0                  ldi r25,hi8(__c.2435)
 882 06f6 9F93                  push r25
 883 06f8 8F93                  push r24
 884 06fa 1F92                  push __zero_reg__
 885 06fc 0E94 0000             call _printf_P
 886 0700 88EE                  ldi r24,lo8(1000)
 887 0702 93E0                  ldi r25,hi8(1000)
 888 0704 0E94 0000             call SetDelay
 889 0708 8C01                  movw r16,r24
 890 070a 0E94 0000             call SucheLuftruckOffset
 891 070e 0F90                  pop __tmp_reg__
 892 0710 0F90                  pop __tmp_reg__
 893 0712 0F90                  pop __tmp_reg__
 894                    .L84:
 895 0714 C801                  movw r24,r16
 896 0716 0E94 0000             call CheckDelay
 897 071a 8823                  tst r24
 898 071c 01F0                  breq .L84
 899 071e 80E0                  ldi r24,lo8(__c.2440)
 900 0720 90E0                  ldi r25,hi8(__c.2440)
 901 0722 9F93                  push r25
 902 0724 8F93                  push r24
 903 0726 1F92                  push __zero_reg__
 904 0728 0E94 0000             call _printf_P
 905 072c 0F90                  pop __tmp_reg__
 906 072e 0F90                  pop __tmp_reg__
 907 0730 0F90                  pop __tmp_reg__
 908 0732 00C0                  rjmp .L83
 909                    .L49:
 910 0734 2898                  cbi 37-0x20,0
 911 0736 00C0                  rjmp .L52
 912                    .L137:
 913 0738 0E94 0000             call DefaultKonstanten3
 914 073c 00C0                  rjmp .L65
 915                    .L138:
 916 073e E0E0                  ldi r30,lo8(__c.2425)
 917 0740 F0E0                  ldi r31,hi8(__c.2425)
 918 0742 FF93                  push r31
 919 0744 EF93                  push r30
 920 0746 1F92                  push __zero_reg__
 921 0748 0E94 0000             call _printf_P
 922 074c 4CE5                  ldi r20,lo8(92)
 923 074e 60E0                  ldi r22,lo8(EE_Parameter)
 924 0750 70E0                  ldi r23,hi8(EE_Parameter)
 925 0752 81E0                  ldi r24,lo8(1)
 926 0754 0E94 0000             call WriteParameterSet
 927 0758 0F90                  pop __tmp_reg__
 928 075a 0F90                  pop __tmp_reg__
 929 075c 0F90                  pop __tmp_reg__
 930 075e 00C0                  rjmp .L62
 931                    .L140:
 932 0760 80E0                  ldi r24,lo8(__c.2431)
 933 0762 90E0                  ldi r25,hi8(__c.2431)
 934 0764 9F93                  push r25
 935 0766 8F93                  push r24
 936 0768 1F92                  push __zero_reg__
 937 076a 0E94 0000             call _printf_P
 938 076e 0F90                  pop __tmp_reg__
 939 0770 0F90                  pop __tmp_reg__
 940 0772 0F90                  pop __tmp_reg__
 941 0774 00C0                  rjmp .L79
 942                    .L41:
 943 0776 8BE0                  ldi r24,lo8(11)
 944 0778 8093 0000             sts PlatinenVersion,r24
 945 077c 00C0                  rjmp .L43
 946                    .L39:
 947 077e 199B                  sbis 35-0x20,1
 948 0780 00C0                  rjmp .L44
 949 0782 84E1                  ldi r24,lo8(20)
 950 0784 8093 0000             sts PlatinenVersion,r24
 951 0788 00C0                  rjmp .L43
 952                    .L46:
 953 078a 8BE0                  ldi r24,lo8(1291)
 954 078c 95E0                  ldi r25,hi8(1291)
 955 078e A0E0                  ldi r26,hlo8(1291)
 956 0790 B0E0                  ldi r27,hhi8(1291)
 957 0792 8093 0000             sts GIER_GRAD_FAKTOR,r24
 958 0796 9093 0000             sts (GIER_GRAD_FAKTOR)+1,r25
 959 079a A093 0000             sts (GIER_GRAD_FAKTOR)+2,r26
 960 079e B093 0000             sts (GIER_GRAD_FAKTOR)+3,r27
 961 07a2 00C0                  rjmp .L48
 962                    .L44:
 963 07a4 8AE0                  ldi r24,lo8(10)
 964 07a6 8093 0000             sts PlatinenVersion,r24
 965 07aa 00C0                  rjmp .L43
 966                    /* epilogue: frame size=2 */
 967                    /* epilogue: noreturn */
 968                    /* epilogue end (size=0) */
 969                    /* function main size 831 (805) */
 971                    .global PlatinenVersion
 972                            .data
 975                    PlatinenVersion:
 976 0000 0A                    .byte   10
 977                    .global SendVersionToNavi
 980                    SendVersionToNavi:
 981 0001 01                    .byte   1
 982                            .section        .progmem.data,"a",@progbits
 985                    __c.2448:
 986 0000 0A0A 0D00             .string "\n\n\r"
 989                    __c.2446:
 990 0004 4E65 7574             .string "Neutral"
 990      7261 6C00 
 993                    __c.2444:
 994 000c 4865 6164             .string "HeadingHold"
 994      696E 6748 
 994      6F6C 6400 
 997                    __c.2442:
 998 0018 0A0D 5374             .string "\n\rSteuerung: "
 998      6575 6572 
 998      756E 673A 
 998      2000 
 1001                   __c.2440:
 1002 0026 4F4B 0A0D            .string "OK\n\r"
 1002      00
 1005                   __c.2435:
 1006 002b 0A0D 4162            .string "\n\rAbgleich Luftdrucksensor.."
 1006      676C 6569 
 1006      6368 204C 
 1006      7566 7464 
 1006      7275 636B 
 1009                   __c.2433:
 1010 0048 0A0D 4265            .string "\n\rBenutze Parametersatz %d"
 1010      6E75 747A 
 1010      6520 5061 
 1010      7261 6D65 
 1010      7465 7273 
 1013                   __c.2431:
 1014 0063 0A0D 4143            .string "\n\rACC nicht abgeglichen!"
 1014      4320 6E69 
 1014      6368 7420 
 1014      6162 6765 
 1014      676C 6963 
 1017                   __c.2425:
 1018 007c 3A20 4765            .string ": Generating Default-Parameter using old Stick Settings"
 1018      6E65 7261 
 1018      7469 6E67 
 1018      2044 6566 
 1018      6175 6C74 
 1021                   __c.2421:
 1022 00b4 0A0D 496E            .string "\n\rInit. EEPROM"
 1022      6974 2E20 
 1022      4545 5052 
 1022      4F4D 00
 1025                   __c.2419:
 1026 00c3 0A0D 3D3D            .string "\n\r=============================="
 1026      3D3D 3D3D 
 1026      3D3D 3D3D 
 1026      3D3D 3D3D 
 1026      3D3D 3D3D 
 1029                   __c.2416:
 1030 00e4 0A0D 466C            .string "\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c "
 1030      6967 6874 
 1030      436F 6E74 
 1030      726F 6C0A 
 1030      0D48 6172 
 1031                           .data
 1034                   stick.2399:
 1035 0002 01                   .byte   1
 1036                   .global EEPromArray
 1037                           .section        .eeprom,"aw",@progbits
 1040                   EEPromArray:
 1041 0000 0000 0000            .skip 2048,0
 1041      0000 0000 
 1041      0000 0000 
 1041      0000 0000 
 1041      0000 0000 
 1042                   /* File "main.c": code 1022 = 0x03fe ( 994), prologues  26, epilogues   2 */
DEFINED SYMBOLS
                            *ABS*:00000000 main.c
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:2      *ABS*:0000003f __SREG__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:3      *ABS*:0000003e __SP_H__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:4      *ABS*:0000003d __SP_L__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:5      *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:6      *ABS*:00000001 __zero_reg__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:12     .text:00000000 SetActiveParamSetNumber
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1040   .eeprom:00000000 EEPromArray
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:37     .text:00000018 GetActiveParamSetNumber
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:66     .text:0000003c CalMk3Mag
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1034   .data:00000002 stick.2399
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:122    .text:000000ac WriteParameterSet
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:149    .text:000000d8 .117_start
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:155    .text:000000e4 .117_finished
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:190    .text:00000114 ReadParameterSet
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:218    .text:00000140 .163_start
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:224    .text:0000014c .163_finished
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:234    .text:00000152 main
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:975    .data:00000000 PlatinenVersion
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1029   .progmem.data:000000e4 __c.2416
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1025   .progmem.data:000000c3 __c.2419
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1021   .progmem.data:000000b4 __c.2421
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1009   .progmem.data:00000048 __c.2433
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:997    .progmem.data:00000018 __c.2442
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:993    .progmem.data:0000000c __c.2444
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:985    .progmem.data:00000000 __c.2448
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:989    .progmem.data:00000004 __c.2446
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1005   .progmem.data:0000002b __c.2435
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1001   .progmem.data:00000026 __c.2440
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1017   .progmem.data:0000007c __c.2425
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:1013   .progmem.data:00000063 __c.2431
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccRl0yRh.s:980    .data:00000001 SendVersionToNavi

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
__eeprom_write_byte_1F2021
__eeprom_read_byte_1F2021
EE_Parameter
PPM_in
WinkelOut
beeptime
Piep
DebugOut
__eeprom_write_block_1F2021
LED_Init
StickGier
StickRoll
StickNick
GIER_GRAD_FAKTOR
Timer_Init
TIMER2_Init
UART_Init
rc_sum_init
ADC_Init
i2c_init
SPI_MasterInit
__udivmodqi4
_printf_P
DefaultKonstanten1
DefaultStickMapping
SetNeutral
ExternControl
LcdClear
I2CTimeout
UpdateMotor
AdReady
SendMotorData
PcZugriff
SenderOkay
MotorenEin
DatenUebertragung
BearbeiteRxDaten
CheckDelay
UBat
BeepMuster
SPI_StartTransmitPacket
SendSPI
SetDelay
LED_Update
SPI_TransmitByte
MotorRegler
ExternStickNick
ExternStickRoll
ExternStickGier
i2c_reset
DefaultKonstanten2
Uart1Init
SucheLuftruckOffset
DefaultKonstanten3