Extend the PCF8583 driver to support multiple instances (#19232)

* Add some restart events into pcf8583 driver

Co-authored-by: Vít Hanousek <vithanousek@seznam.cz>
This commit is contained in:
Roman Dvořák
2022-02-21 22:47:16 +01:00
committed by GitHub
parent 3c58932aff
commit 976c994156
7 changed files with 151 additions and 49 deletions
+7
View File
@@ -155,6 +155,13 @@ then
irlock start -X
fi
# PCF8583 counter (RPM sensor)
if param compare -s SENS_EN_PCF8583 1
then
pcf8583 start -X
pcf8583 start -X -a 0x51
fi
# probe for optional external I2C devices
if param compare SENS_EXT_I2C_PRB 1
then