Commit cf8857a
committed
tests: benchmarks: i2c_endless: Fix usage of nrfx error codes
Since nrfx 4, driver APIs return errno values. Comparing
against NRFX_SUCCESS is therefore wrong.
Unfortunately such cases cannot be found by enabling compiler
warnings.
Signed-off-by: Rubin Gerritsen <[email protected]>1 parent 9be2fd4 commit cf8857a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments