Merge branch 'pinmap-i2cspi' of github.com:tingleby/maa into tingleby-pinmap-i2cspi
This commit is contained in:
@@ -106,7 +106,6 @@ typedef struct {
|
||||
int hz; /**< frequency of communication */
|
||||
int fh; /**< the file handle to the /dev/i2c-* device */
|
||||
int addr; /**< the address of the i2c slave */
|
||||
maa_gpio_context gpio;
|
||||
/*@}*/
|
||||
} maa_i2c_context;
|
||||
|
||||
@@ -114,7 +113,7 @@ typedef struct {
|
||||
%extend maa_i2c_context {
|
||||
maa_i2c_context()
|
||||
{
|
||||
return maa_i2c_init();
|
||||
return maa_i2c_init(0);
|
||||
}
|
||||
~maa_i2c_context()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user