Commit d8f7ebd
committed
fix(components/adc) unexpected abort
label `cleanup` redirect to adc_continuous_deinit() ->
-> adc_apb_periph_free() -- and call unexpected decrement and abort. but
the increment of s_adc_digi_ctrlr_cnt was not made. also abort does not
allow us to understand what the error was (return is not provided)1 parent b6e2de0 commit d8f7ebd
1 file changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
163 | 189 | | |
164 | 190 | | |
165 | 191 | | |
| |||
250 | 276 | | |
251 | 277 | | |
252 | 278 | | |
253 | | - | |
| 279 | + | |
254 | 280 | | |
255 | 281 | | |
256 | 282 | | |
| |||
0 commit comments