34,7 → 34,7 |
|
// This is strange: It should NOT be necessarty to do. But the call of the same, |
// in channelMap_readOrDefault (if eeprom read fails) just sets all to 0,0,0,.... |
channelMap_default(); |
channelMap_default(); |
|
// initalize modules |
output_init(); |
76,8 → 76,8 |
; |
|
timer = setDelay(200); |
outputSet(0,0); |
outputSet(1,1); |
outputSet(0, 0); |
outputSet(1, 1); |
RED_OFF; |
GRN_ON; |
while (!checkDelay(timer)) |
119,7 → 119,7 |
debugOut.digital[0] |= DEBUG_MAINLOOP_TIMER; |
} else { |
debugOut.digital[0] &= ~DEBUG_MAINLOOP_TIMER; |
|
} |
J4HIGH; |
// This is probably the correct order: |
// The attitude computation should not depend on anything from control (except maybe the estimation of control activity level) |
171,7 → 171,6 |
} else { |
debugOut.digital[1] &= ~DEBUG_MAINLOOP_TIMER; |
} |
} |
} |
return (1); |
} |