altos: Put SPI in slower mode when talking to companion board
authorKeith Packard <keithp@keithp.com>
Fri, 12 Aug 2011 12:38:16 +0000 (05:38 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:46:12 +0000 (18:46 -0700)
commitebe2ffb29944abc4d6a35889c7b5f3d9f2871077
treec674520ad9da808ac52f318653088fb38c5b079f
parent30abbdc7ffcfc809b4a3fc31486fe968161ea225
altos: Put SPI in slower mode when talking to companion board

The AVR CPU on the other side just can't go very fast. This reduces
the SPI clock by a factor of 16, just under 200kHz. As the companion
commands are reasonably short, this shouldn't have a huge effect on
overall SPI utilization.

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