Private
Public Access
2
0

Blink-IO.cpp: use mraa_result_t instead of int

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-07-04 15:49:07 +01:00
parent 4b0f24367a
commit acfe9b7793

View File

@@ -59,7 +59,7 @@ int main (int argc, char **argv)
if (gpio == NULL) {
return MRAA_ERROR_UNSPECIFIED;
}
int response = gpio->dir(mraa::DIR_OUT);
mraa_result_t response = gpio->dir(mraa::DIR_OUT);
if (response != MRAA_SUCCESS) {
mraa::printError(response);
return 1;