commit | c338dd9b94a468810fd86238a7b5405e222b57b9 | [log] [tgz] |
---|---|---|
author | Erwan Gouriou <erwan.gouriou@linaro.org> | Thu Dec 13 15:53:33 2018 +0100 |
committer | Kumar Gala <kumar.gala@gmail.com> | Mon Dec 17 08:18:56 2018 -0600 |
tree | 917d22d23952cf0f2df21d7080b6421149d58532 | |
parent | c52a64624ef33fff1ec1adf40c6d787859a4f18b [diff] |
samples/drivers: gpio: LED0 and SW0 might not share GPIO controller In gpio driver sample, same GPIO controller was used for out pin (LED0) and in pin (SW0), which is actually a particular case. This change implements the general case, where button an led might not have the same gpio controller. Tested on nucleo_f429zi and frdm_k64f. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>