my9221: return mraa_error_t when method says it does

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll 2014-07-14 13:59:56 +01:00
parent 8cfb3d3dab
commit 00170bea97

View File

@ -104,6 +104,7 @@ MY9221::lockData () {
error = mraa_gpio_write (m_dataPinCtx, HIGH);
error = mraa_gpio_write (m_dataPinCtx, LOW);
}
return error;
}
mraa_result_t
@ -124,4 +125,5 @@ MY9221::send16bitBlock (short data) {
data <<= 1;
}
return error;
}