Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2134 → Rev 2135

/branches/dongfang_FC_fixedwing/arduino_atmega328/timer0.c
144,7 → 144,6
t_stop = setDelay(w);
while (!checkDelay(t_stop)) {
wdt_reset();
debugOut.analog[30]++;
if (sensorDataReady == ALL_DATA_READY) {
analog_update();
startAnalogConversionCycle();
153,7 → 152,7
if (stop) {
// Wait for new samples to get prepared but do not restart AD conversion after that!
// Caller MUST to that.
while (!sensorDataReady != ALL_DATA_READY) wdt_reset();
// while (sensorDataReady != ALL_DATA_READY) wdt_reset();
}
}