mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
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:
parent
8cfb3d3dab
commit
00170bea97
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user