Skip to content
Commit a002cab0 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

samples/basic: disco: LED0 and LED1 might not share GPIO controller



In disco basic sample, same GPIO controller was used for LED0
and LED1, which is actually a particular case.

This change implements the general case, where LED0 an LED1 might
not have the same gpio controller.
Tested on nucleo_f429zi and frdm_k64f.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent c338dd9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment