diff options
author | Keith Packard <keithp@keithp.com> | 2010-12-22 21:06:22 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-12-22 21:17:36 -0800 |
commit | 9f7296b3feab872bf51fc369ade69cc1e7cf7a3f (patch) | |
tree | 3ec494cea281d5df871ffecc94f61cfff88d0226 /src/ao_telemetrum.c | |
parent | 51c410c1c952e0e9bcf1b2c438813de63753be5f (diff) |
altos: Split out SPI driver.
For TM with the companion connector, the SPI bus will be shared among
multiple devices. Split out the existing SPI code into a common
driver, with the SPI bus protected by a mutex.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_telemetrum.c')
-rw-r--r-- | src/ao_telemetrum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_telemetrum.c b/src/ao_telemetrum.c index fd0adae8..1209c820 100644 --- a/src/ao_telemetrum.c +++ b/src/ao_telemetrum.c @@ -48,6 +48,7 @@ main(void) ao_adc_init(); ao_beep_init(); ao_cmd_init(); + ao_spi_init(); ao_ee_init(); ao_flight_init(); ao_log_init(); |