mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00:00
Fix: Sensor: Fix the use of ioexpander and delete redundant member of opt3006.
N/A Add pull up when using SETDIRECTION; Using transformation replace pinset; Delete i2c point in opt3006 device struct. Signed-off-by: yangjiukui <yangjiukui@xiaomi.com> Change-Id: I7e46d0cde878fbca325f89be47c57ff9b9456ff0
This commit is contained in:
parent
fc3920904e
commit
eafc254e14
2 changed files with 4 additions and 7 deletions
|
|
@ -46,7 +46,6 @@ struct opt3006_config_s
|
|||
int pin; /* Interrupt pin */
|
||||
FAR struct i2c_master_s *i2c; /* I2C interface */
|
||||
FAR struct ioexpander_dev_s *ioedev; /* Ioexpander device */
|
||||
uint32_t pinset; /* Interrupt pin set */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue