s/BUSY/EBUSY typo fix, which ressulted in compile error
This commit is contained in:
parent
99f56b89df
commit
d6686b7409
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ static int sam_i2c_transfer(FAR struct i2c_master_s *dev,
|
|||
|
||||
/* Initiate the message transfer */
|
||||
|
||||
ret = -BUSY;
|
||||
ret = -EBUSY;
|
||||
|
||||
/* Initiate the transfer. The rest will be handled from interrupt logic.
|
||||
* Interrupts must be disabled to prevent re-entrance from the interrupt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue