projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Get cc1120 packet reception working
[fw/altos]
/
src
/
drivers
/
ao_science_slave.c
diff --git
a/src/drivers/ao_science_slave.c
b/src/drivers/ao_science_slave.c
index fa9db98bad80315b6806c74512b3c2ff76ab0f70..996e98d9a6e5f6832023a2975a9979e50817fa8e 100644
(file)
--- a/
src/drivers/ao_science_slave.c
+++ b/
src/drivers/ao_science_slave.c
@@
-18,6
+18,7
@@
#include "ao.h"
#include "ao_product.h"
#include "ao_flight.h"
#include "ao.h"
#include "ao_product.h"
#include "ao_flight.h"
+#include "ao_companion.h"
struct ao_companion_command ao_companion_command;
struct ao_companion_command ao_companion_command;
@@
-41,7
+42,7
@@
void ao_spi_slave(void)
sizeof (ao_telescience_setup));
break;
case AO_COMPANION_FETCH:
sizeof (ao_telescience_setup));
break;
case AO_COMPANION_FETCH:
- ao_spi_slave_send((uint8_t *) &ao_
adc_ring[ao_adc_ring_prev(ao_adc
_head)].adc,
+ ao_spi_slave_send((uint8_t *) &ao_
data_ring[ao_data_ring_prev(ao_data
_head)].adc,
AO_LOG_TELESCIENCE_NUM_ADC * sizeof (uint16_t));
break;
case AO_COMPANION_NOTIFY:
AO_LOG_TELESCIENCE_NUM_ADC * sizeof (uint16_t));
break;
case AO_COMPANION_NOTIFY: