mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 03:11:15 +03:00
zfm20: Use mraa::Uart instead of tty
Updated the ZFM20 class to use UART functionality provided through the mraa::Uart class instead of using the UART directly. * Switch to mraa::Uart * Added raw uart string constructor, closes #621 * Updated examples * Added a common.i to minimize interface duplication * Removed pointers from C++ functions where references are preferable * Removed dependency on termios * Added typedefs to handle pass-by-reference * Removed flushes * Removed code after throws Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -2,4 +2,4 @@ set (libname "zfm20")
|
||||
set (libdescription "Fingerprint Sensor Module")
|
||||
set (module_src ${libname}.cxx)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
upm_module_init(mraa)
|
||||
upm_module_init(mraa utilities-c)
|
||||
|
Reference in New Issue
Block a user