Rev 338 | Rev 342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 338 | Rev 339 | ||
---|---|---|---|
Line 323... | Line 323... | ||
323 | } |
323 | } |
324 | } |
324 | } |
Line 325... | Line 325... | ||
325 | 325 | ||
326 | if(newErrorCode) |
326 | if(newErrorCode) |
327 | { |
327 | { |
328 | if(FC.StatusFlags & FC_STATUS_MOTOR_RUN) no_error_delay = 5; // delay the errors if the motors are running |
328 | if(FC.StatusFlags & FC_STATUS_MOTOR_RUN) no_error_delay = 8; // delay the errors if the motors are running |
329 | ErrorCode = newErrorCode; |
329 | ErrorCode = newErrorCode; |
330 | } |
330 | } |
331 | FC.Error[0] = 0; |
331 | FC.Error[0] = 0; |
332 | FC.Error[1] = 0; |
332 | FC.Error[1] = 0; |