Private
Public Access
2
0

i2c: use uint8_t when appropriate and remove char

Object APIs used signed chars for some operations which are not appropriate
when using i2c.

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-10-31 15:10:15 +00:00
parent 428c99f940
commit 274d5b2d50
4 changed files with 12 additions and 16 deletions

View File

@@ -37,8 +37,6 @@
}
}
%typemap(in) uint8_t = char;
%typemap(in) unsigned char* = char*;
%apply (char *STRING, size_t LENGTH) { (char *data, size_t length) };
%include "common.hpp"