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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user