This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch releases/10.0
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/releases/10.0 by this push:
new 1456514 s/BUSY/EBUSY typo fix, which ressulted in compile error
1456514 is described below
commit 14565144b18c60e08502dd288269f5b642509c5b
Author: Bernd Walter <[email protected]>
AuthorDate: Thu Oct 29 20:50:19 2020 +0100
s/BUSY/EBUSY typo fix, which ressulted in compile error
---
arch/arm/src/samd2l2/sam_i2c_master.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/samd2l2/sam_i2c_master.c
b/arch/arm/src/samd2l2/sam_i2c_master.c
index 0874a66..588b355 100644
--- a/arch/arm/src/samd2l2/sam_i2c_master.c
+++ b/arch/arm/src/samd2l2/sam_i2c_master.c
@@ -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