驱动优化
This commit is contained in:
@@ -18,5 +18,6 @@ struct drv_softi2c_t{
|
||||
#define drv_softi2c_stop(dev) drv_device_close(dev)
|
||||
#define drv_softi2c_put(dev, data) ((drv_softi2c_t*)(dev->handle))->put((dev)->handle, (data))
|
||||
#define drv_softi2c_get(dev, ack, data) ((drv_softi2c_t*)(dev->handle))->get((dev)->handle, (ack), (data))
|
||||
#define drv_softi2c_wait_ack(dev) ((drv_softi2c_t*)(dev->handle))->wait_ack((dev)->handle)
|
||||
|
||||
#endif /*INCLUDED_DRV_SOFTI2C_H*/
|
||||
|
||||
Reference in New Issue
Block a user