upm: move to maa 0.2.1 C api

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-04-30 14:58:11 +01:00
parent 80dc2b6616
commit b0684c98a8
3 changed files with 15 additions and 13 deletions

View File

@ -23,7 +23,7 @@
*/
#pragma once
#include <maa/maa.h>
#include <maa/i2c.h>
#define MAX_BUFFER_LENGTH 6
@ -39,7 +39,7 @@ public:
private:
int coor[3];
char rx_tx_buf[MAX_BUFFER_LENGTH];
maa::I2CSlave* i2c;
maa_i2c_context* i2c;
};
}