projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Fixup named ADC printing
[fw/altos]
/
src
/
cc1111
/
ao_radio.c
diff --git
a/src/cc1111/ao_radio.c
b/src/cc1111/ao_radio.c
index 88b8f686e21c09f1c8193076e0f12d5bf4cc2c0c..190647ce0dbe432f6a0b4ee5f8428b686110cf69 100644
(file)
--- a/
src/cc1111/ao_radio.c
+++ b/
src/cc1111/ao_radio.c
@@
-374,7
+374,7
@@
ao_radio_recv(__xdata void *packet, uint8_t size, uint8_t timeout) __reentrant
}
#if NEED_RADIO_RSSI
else
- ao_radio_rssi = AO_RSSI_FROM_RADIO(((uint8_t *)packet)[size -
1
]);
+ ao_radio_rssi = AO_RSSI_FROM_RADIO(((uint8_t *)packet)[size -
2
]);
#endif
ao_radio_put();
return ao_radio_dma_done;