From 645a1b8364c3110f706db0f976ac5fa20b968c36 Mon Sep 17 00:00:00 2001 From: BIGTREETECH <38851044+bigtreetech@users.noreply.github.com> Date: Thu, 8 Jun 2023 08:55:46 +0800 Subject: i2c_software: Implementation of software i2c (#6141) Signed-off-by: Alan.Ma from BigTreeTech --- src/i2ccmds.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/i2ccmds.h') diff --git a/src/i2ccmds.h b/src/i2ccmds.h index 49c05c93..9ce54aa0 100644 --- a/src/i2ccmds.h +++ b/src/i2ccmds.h @@ -6,8 +6,11 @@ struct i2cdev_s { struct i2c_config i2c_config; + struct i2c_software *i2c_software; + uint8_t flags; }; struct i2cdev_s *i2cdev_oid_lookup(uint8_t oid); +void i2cdev_set_software_bus(struct i2cdev_s *i2c, struct i2c_software *is); #endif -- cgit v1.2.3-70-g09d2