]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commit - fx2lafw.c
fx2lafw: Factor out LED control.
authorMaciej Kurc <redacted>
Wed, 24 Jan 2018 18:39:04 +0000 (19:39 +0100)
committerUwe Hermann <redacted>
Wed, 24 Jan 2018 18:41:08 +0000 (19:41 +0100)
commit553c0ee354bb2ae5eb36c8ba84f22b948708e785
tree0f7fffa60d8ad421d7eab602bfb1c9a111a8a529
parentf6ef2ff72979fd6504b930d7db9506f35ce07d37
fx2lafw: Factor out LED control.

Also, make the LED polarity compile-time configurable.

[Note: This is a slightly modified version of a patch from Maciej Kurc.]
fx2lafw.c
include/fx2lafw.h