mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
f34731c1a9
If the SSI has never been used and spi_init() is called, then the SSI receive FIFO is empty and remains so, so calling SPI_WAITFOREORx() at the end of spi_init() waits endlessly for SSI_SR.RNE to be set. Hence, this call must be removed in order to avoid a deadlock. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
.. | ||
dev | ||
usb | ||
cc2538.lds | ||
clock.c | ||
cpu.c | ||
cpu.h | ||
dbg.c | ||
dbg.h | ||
debug-uart.h | ||
ieee-addr.c | ||
ieee-addr.h | ||
lpm.c | ||
lpm.h | ||
Makefile.cc2538 | ||
mtarch.h | ||
reg.h | ||
rtimer-arch.c | ||
rtimer-arch.h | ||
slip-arch.c | ||
spi-arch.h |