You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/06 20:55:22 UTC

[incubator-nuttx] 01/02: Fix lpc17_40_ubxmdm.c board driver to return -ENOTTY

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9718611b294f8cea4da485a2448b0e4262d8c868
Author: Alan C. Assis <ac...@gmail.com>
AuthorDate: Sat Jun 6 15:58:19 2020 -0300

    Fix lpc17_40_ubxmdm.c board driver to return -ENOTTY
---
 boards/arm/lpc17xx_40xx/u-blox-c027/src/lpc17_40_ubxmdm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/lpc17xx_40xx/u-blox-c027/src/lpc17_40_ubxmdm.c b/boards/arm/lpc17xx_40xx/u-blox-c027/src/lpc17_40_ubxmdm.c
index 7937d43..48036a9 100644
--- a/boards/arm/lpc17xx_40xx/u-blox-c027/src/lpc17_40_ubxmdm.c
+++ b/boards/arm/lpc17xx_40xx/u-blox-c027/src/lpc17_40_ubxmdm.c
@@ -267,7 +267,7 @@ static int lpc17_40_ioctl(FAR struct ubxmdm_lower* lower,
 {
   /* No platform-specific IOCTL at the moment. */
 
-  return -ENOSYS;
+  return -ENOTTY;
 }
 
 /****************************************************************************