TLE6240 outputs fix (#994)

This commit is contained in:
andreika-git 2019-11-01 21:49:55 +02:00 committed by rusefi
parent e8fa6135f4
commit 63702dbeeb
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ int tle6240_writePad(void *data, brain_pin_e pin, int value)
{
struct tle6240_priv *chip;
if ((pin >= TLE6240_DIRECT_OUTPUTS) || (data == NULL))
if ((pin >= TLE6240_OUTPUTS) || (data == NULL))
return -1;
chip = (struct tle6240_priv *)data;