canokeys / canokey-core

Core implementations of an open-source secure key
https://canokeys.org/
Apache License 2.0
314 stars 35 forks source link

fix: load led state cfg at startup #90

Closed joyqat closed 2 months ago

joyqat commented 2 months ago

Currently, the led state after startup depends on device initialization code. The saved LED cfg have no effect just after powerup. I think the admin_install() function is a good place to set LED state correctly.