summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/spi.c')
-rw-r--r--fw/fe310/eos/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fw/fe310/eos/spi.c b/fw/fe310/eos/spi.c
index a4b164e..11a0703 100644
--- a/fw/fe310/eos/spi.c
+++ b/fw/fe310/eos/spi.c
@@ -102,6 +102,7 @@ void eos_spi_start(uint16_t div, uint8_t csid, uint8_t cspin, unsigned char evt)
void eos_spi_stop(void) {
eos_spi_flush();
+ eos_intr_set_handler(INT_SPI1_BASE, NULL);
spi_evt = 0;
}