Private
Public Access
2
0

Merge branch 'pinmap-i2cspi' of github.com:tingleby/maa into tingleby-pinmap-i2cspi

This commit is contained in:
Brendan Le Foll
2014-05-02 16:43:10 +01:00
7 changed files with 102 additions and 11 deletions

View File

@@ -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()
{