From 522a4feea1b7695f9b2e9f1b7a3f032775cebee2 Mon Sep 17 00:00:00 2001 From: Thomas Ingleby Date: Tue, 19 May 2015 11:22:08 +0100 Subject: [PATCH] uart: change hpp, use new names of functions Signed-off-by: Thomas Ingleby --- api/mraa/uart.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/mraa/uart.hpp b/api/mraa/uart.hpp index 928e149..3f4a53b 100644 --- a/api/mraa/uart.hpp +++ b/api/mraa/uart.hpp @@ -58,7 +58,7 @@ class Uart */ ~Uart() { - closeDevice(); + stopDevice(); return; } @@ -97,9 +97,9 @@ class Uart * @return mraa_result_t */ mraa_result_t - closeDevice() + stopDevice() { - return mraa_uart_close_dev(m_uart); + return mraa_uart_stop(m_uart); } /**