Commit 07cbb4f
boards/avr/avrdx/breadxavr: silence unused variable warning
This patch silences a warning caused by unconditionally declared
variable which is only used with specific configuration.
Also, if the initialization fails, panic instead of returning.
(This should not happen since the code runs in initialization
phase but silently returning is not the correct action.)
Signed-off-by: Kerogit <[email protected]>1 parent 13a361a commit 07cbb4f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | | - | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments