#include "pcf8574.h"
+#include "cfg/cfg_i2c.h"
+
#include <cfg/module.h>
#include <drv/i2c.h>
+#if !CONFIG_I2C_DISABLE_OLD_API
INLINE int pcf8574_get_priv(Pcf8574 *pcf)
{
return data;
}
-
/**
* Read PCF8574 \a pcf bit status.
* \return the pins status or EOF on errors.
pcf->addr = addr;
return pcf8574_get_priv(pcf) != EOF;
}
-
+#endif /* !CONFIG_I2C_DISABLE_OLD_API */
/*