This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new d6686b7 s/BUSY/EBUSY typo fix, which ressulted in compile error d6686b7 is described below commit d6686b7409ca046f69baa47141a458b23ebbfb71 Author: Bernd Walter <ti...@cicely.de> 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