Switch DBG pins to GPIO when using any debug commands. Reboot to restore.
authorKeith Packard <keithp@keithp.com>
Thu, 15 Jul 2010 02:07:02 +0000 (19:07 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 15 Jul 2010 02:10:04 +0000 (19:10 -0700)
commit695879dbccfc5ec6b79698653c58814158f91686
tree07769c5edf12a993223b6ca439a441c1fddeb8cd
parenta9ec6be0e92dee01f7aac006ef6f7779c1da1b36
Switch DBG pins to GPIO when using any debug commands. Reboot to restore.

If you want to use TeleMetrum as a debug dongle, you need to flip the
three pins used to talk to the remote debug port from SPI mode to GPIO
mode.

This patch doesn't provide any way to get back to SPI mode, so you'll
have to reboot the TeleMetrum to write out config parameters or log
flight data after using any debug commands.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_dbg.c