mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 10:21:19 +03:00
Examples: Removing MRAA reference from examples
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -71,7 +71,7 @@ main(int argc, char** argv)
|
||||
upm::GroveGPRS sensor(0);
|
||||
|
||||
// Set the baud rate, 19200 baud is the default.
|
||||
if (sensor.setBaudRate(19200) != mraa::SUCCESS) {
|
||||
if (sensor.setBaudRate(19200) != 0) {
|
||||
cerr << "Failed to set tty baud rate" << endl;
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user