qmod: wwan_led.c: Fix handling of LED for second Modem

This commit is contained in:
Harald Welte
2017-05-05 20:23:23 +02:00
parent 9164a6d335
commit 7e4390f181

View File

@@ -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;
} }