Private
Public Access
2
0

uart: change hpp, use new names of functions

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2015-05-19 11:22:08 +01:00
parent 4d86860e0c
commit 522a4feea1

View File

@@ -58,7 +58,7 @@ class Uart
*/ */
~Uart() ~Uart()
{ {
closeDevice(); stopDevice();
return; return;
} }
@@ -97,9 +97,9 @@ class Uart
* @return mraa_result_t * @return mraa_result_t
*/ */
mraa_result_t mraa_result_t
closeDevice() stopDevice()
{ {
return mraa_uart_close_dev(m_uart); return mraa_uart_stop(m_uart);
} }
/** /**