Commit 0d181b5
mpsl: hwres: dppi: Adapt ppib_get_domain for bsim
We need to update the changes done in
00bd43c to support compiling
the code for bsim. A switch case statement cannot be used
because it requires compile time constants in each label.
When compiling for babblesim this is not the case.
Simply transforming it to a set of if statements also works.
Signed-off-by: Rubin Gerritsen <[email protected]>1 parent 8458f8b commit 0d181b5
1 file changed
+10
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
42 | 40 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 41 | + | |
| 42 | + | |
46 | 43 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 44 | + | |
| 45 | + | |
50 | 46 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 47 | + | |
| 48 | + | |
54 | 49 | | |
55 | | - | |
56 | | - | |
| 50 | + | |
| 51 | + | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
| |||
0 commit comments