mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
adding line back in
This commit is contained in:
parent
0e1cebf329
commit
c9116cffd9
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ impl I2cApi for I2c {
|
|||
if result.transactions[0].result == I2cResult::InternalError {
|
||||
Err(xous::Error::InternalError)
|
||||
} else {
|
||||
buf.copy_from_slice(&result.transactions[0].data);
|
||||
Ok(result.transactions[0].result)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue