commit | 44622dfd8d1d97e21c6f63add241cbe366ab8f39 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu May 11 00:04:50 2017 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu May 11 00:04:50 2017 +0200 |
tree | e5555917093c77c453174e7c3c1716afbd15caa9 | |
parent | b91f6ad8481bf0a2fe54467e5930e1735a8f3b6b [diff] [blame] |
consistently use 0-based counting of modems/slots
diff --git a/firmware/libboard/qmod/source/wwan_perst.c b/firmware/libboard/qmod/source/wwan_perst.c index f16006f..b80fd55 100644 --- a/firmware/libboard/qmod/source/wwan_perst.c +++ b/firmware/libboard/qmod/source/wwan_perst.c
@@ -45,11 +45,11 @@ switch (modem_nr) { #ifdef PIN_PERST1 - case 1: + case 0: return &perst1; #endif #ifdef PIN_PERST2 - case 2: + case 1: return &perst2; #endif default: