mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 10:26:00 +03:00
consistently use 0-based counting of modems/slots
This commit is contained in:
1 parent
b91f6ad848
commit
44622dfd8d
3 files changed
+8
-8
No files matched your search
@@ -45,11 +45,11 @@ static struct wwan_perst *get_perst_for_modem(int modem_nr)
|
||||
|
||||
switch (modem_nr) {
|
||||
#ifdef PIN_PERST1
|
||||
case 1:
|
||||
case 0:
|
||||
return &perst1;
|
||||
#endif
|
||||
#ifdef PIN_PERST2
|
||||
case 2:
|
||||
case 1:
|
||||
return &perst2;
|
||||
#endif
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user