mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 11:06:00 +03:00
qmod: wwan_led.c: Fix handling of LED for second Modem
This commit is contained in:
1 parent
9164a6d335
commit
7e4390f181
1 file changed
+1
-1
@@ -55,7 +55,7 @@ int wwan_led_active(int wwan)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
active = PIO_Get(&pin_wwan1) ? 0 : 1;
|
active = PIO_Get(pin) ? 0 : 1;
|
||||||
return active;
|
return active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user