aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/hal_serial.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-08-29 14:02:30 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-08-29 14:02:30 +0000
commitab5f8476e10b816d3636e0d68451c5def9369445 (patch)
treed577e02582be937303030c5e61347b4e39e5d53e /os/hal/src/hal_serial.c
parentdd5d6d0affd6ee564836aba9e1429925d7a39d63 (diff)
downloadChibiOS-ab5f8476e10b816d3636e0d68451c5def9369445.tar.gz
ChibiOS-ab5f8476e10b816d3636e0d68451c5def9369445.tar.bz2
ChibiOS-ab5f8476e10b816d3636e0d68451c5def9369445.zip
API sduControl() added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10506 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/hal_serial.c')
-rw-r--r--os/hal/src/hal_serial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/src/hal_serial.c b/os/hal/src/hal_serial.c
index 573b139be..5c24c8216 100644
--- a/os/hal/src/hal_serial.c
+++ b/os/hal/src/hal_serial.c
@@ -101,11 +101,10 @@ static msg_t _ctl(void *ip, unsigned int operation, void *arg) {
default:
#if defined(SD_LLD_IMPLEMENTS_CTL)
return sd_lld_control(sdp, operation, arg);
-#else
+#endif
case CHN_CTL_INVALID:
osalDbgAssert(false, "invalid CTL operation");
break;
-#endif
}
return MSG_OK;
}