Commit 2f983de
authored
Handke SPISlave with no output data ever written (#3069)
Fixes #3068. The SPISlave TX-FIFO IRQ would infinitely try to fill the FIFO
as soon as IRQs were enabled, but in the case when the app never sent any
data this would cause an infinite loop in the IRQ handler.
Now abort if we don't have any data, even if there is space in the FIFO.1 parent 9e49c58 commit 2f983de
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments