i2cslave.cxx: add undefined method stub that stopped swig working
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -44,6 +44,12 @@ I2CSlave::frequency(int hz)
|
||||
_hz = hz;
|
||||
}
|
||||
|
||||
int
|
||||
I2CSlave::receive(void)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
I2CSlave::read(char *data, int length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user