Repository navigation
Commit 6d68009
committed
fix(spi): init never called at begin
Regression introduced during ArduinoCore-API deployment.
(_spiSettings != settings) conditions always false by default
(if busMode not changed).
The only way to get SPI functional was to call begin_transaction
with a different settings else error handler is called.
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>1 parent 36a8f85 commit 6d68009
2 files changed
Lines changed: 8 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 16 | | |
36 | 17 | | |
37 | 18 | | |
| |||
73 | 54 | | |
74 | 55 | | |
75 | 56 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
83 | 60 | | |
84 | 61 | | |
85 | 62 | | |
| |||
89 | 66 | | |
90 | 67 | | |
91 | 68 | | |
92 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
93 | 74 | | |
94 | 75 | | |
95 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | 137 | | |
140 | 138 | | |
141 | 139 | | |
| |||
0 commit comments