Ensure motors are stopped before a reboot. Ensure hard fault handler
commitb9e1283809ec97353722f7b85ce7e5481e035259
authorDominic Clifton <me@dominicclifton.name>
Mon, 23 Feb 2015 13:59:41 +0000 (23 13:59 +0000)
committerDominic Clifton <me@dominicclifton.name>
Mon, 23 Feb 2015 14:02:47 +0000 (23 14:02 +0000)
treea8df7e8935ac4c8099c0182557a1b233b7002e2c
parentb568b9c59d58a4751cf9a24a7d5d722a7953f0a1
Ensure motors are stopped before a reboot.  Ensure hard fault handler
doesn't use potentially unitialised data to update the motors.  Pause
for 50ms before rebooting after updating disabling the motors to ensure
the timer hardware and ESCs havea chance to react.

This commit might help with #123
src/main/flight/mixer.c
src/main/flight/mixer.h
src/main/io/serial_cli.c
src/main/io/serial_msp.c
src/main/main.c