From a0af1c01bd3071c467e9952d99679a3d4e6e6843 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Mon, 21 Sep 2015 13:03:17 -0700 Subject: [PATCH] grovegprs: updated to C++ mraa result in example Signed-off-by: Mihai Tudor Panu --- examples/c++/grovegprs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c++/grovegprs.cxx b/examples/c++/grovegprs.cxx index 8652131a..bc0e3d9f 100644 --- a/examples/c++/grovegprs.cxx +++ b/examples/c++/grovegprs.cxx @@ -75,7 +75,7 @@ int main(int argc, char **argv) upm::GroveGPRS* sensor = new upm::GroveGPRS(0); // Set the baud rate, 19200 baud is the default. - if (sensor->setBaudRate(19200) != MRAA_SUCCESS) + if (sensor->setBaudRate(19200) != mraa::SUCCESS) { cerr << "Failed to set tty baud rate" << endl; return 1;