Pass the correct pointer to fled_cb().
This commit is contained in:
parent
36e60cda45
commit
c0873717d4
@ -74,7 +74,7 @@ fled_attach(device_t dev)
|
||||
|
||||
sc->sc_led = led_create(fled_cb, dev, "front");
|
||||
|
||||
fled_cb(sc, 1); /* Turn on LED */
|
||||
fled_cb(dev, 1); /* Turn on LED */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user