libdigiapix: change default PWM for the ccimx8x-sbc-pro
The indexes of the MCA PWM controllers are different in Linux v5.4, so the default value used by libdigiapix results in an error. Reflect this change and, while at it, replace the default PWM with an IO connected to a user LED to make the example more visual. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
3a5d193b09
commit
441459b6d2
|
|
@ -25,8 +25,8 @@ DEFAULT_SPI = 0,0
|
||||||
|
|
||||||
[PWM]
|
[PWM]
|
||||||
|
|
||||||
# MCA PWM2 channel 0 on Expansion connector (MCA_IO7)
|
# MCA PWM0 channel 5 on USER LED0 (MCA_IO18)
|
||||||
DEFAULT_PWM = 7,0
|
DEFAULT_PWM = 0,5
|
||||||
|
|
||||||
[ADC]
|
[ADC]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue