mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:58:52 +08:00
* fixes to restart the state machine if sensor does not init correctly Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fixes Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * increase fail count Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * remove extra flush, switch from warn to debug, add enum states for sensor bring-up Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * remove dead code, decrease restart fail count metric, break out of loop with consec errors if over the fail count and not init Signed-off-by: dirksavage88 <dirksavage88@gmail.com> --------- Signed-off-by: dirksavage88 <dirksavage88@gmail.com>