mirror of https://github.com/rusefi/rusefi-1.git
TLE8888: do not allow direct gpio drive for Push Pull outputs (#3748)
Some register settings also needs to be changed. Change of direct drive input is not enought.
This commit is contained in:
parent
77fa9929d0
commit
020727d65b
|
@ -1117,6 +1117,10 @@ int Tle8888::chip_init_data() {
|
||||||
if ((out < 0) || (cfg->direct_gpio[i].port == NULL))
|
if ((out < 0) || (cfg->direct_gpio[i].port == NULL))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
/* TODO: implement PP pin driving throught direct gpio */
|
||||||
|
if ((cfg->stepper) && (out >= 20) && (out <= 23))
|
||||||
|
continue;
|
||||||
|
|
||||||
/* calculate mask */
|
/* calculate mask */
|
||||||
mask = BIT(out);
|
mask = BIT(out);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue