diff options
author | BIGTREETECH <38851044+bigtreetech@users.noreply.github.com> | 2023-06-08 08:55:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 20:55:46 -0400 |
commit | 645a1b8364c3110f706db0f976ac5fa20b968c36 (patch) | |
tree | 6a7d22aeb89c616bbea8c78cc857ab789b5d66cb /src/i2ccmds.h | |
parent | b389c70d5a76f6c8f63283126daecd2e98899f8e (diff) | |
download | kutter-645a1b8364c3110f706db0f976ac5fa20b968c36.tar.gz kutter-645a1b8364c3110f706db0f976ac5fa20b968c36.tar.xz kutter-645a1b8364c3110f706db0f976ac5fa20b968c36.zip |
i2c_software: Implementation of software i2c (#6141)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Diffstat (limited to 'src/i2ccmds.h')
-rw-r--r-- | src/i2ccmds.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |