git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@9704 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-07-16 10:16:57 +00:00
parent 624e468fa4
commit 9ad6cf0f0d
2 changed files with 3 additions and 2 deletions

View File

@ -215,7 +215,7 @@ void sd_lld_init(void) {
SD1.com_name = "SD1";
#endif
#if USE_WIN32_SERIAL1
#if USE_WIN32_SERIAL2
sdObjectInit(&SD2, NULL, NULL);
SD2.com_listen = INVALID_SOCKET;
SD2.com_data = INVALID_SOCKET;
@ -241,7 +241,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialConfig *config) {
init(&SD1, SD1_PORT);
#endif
#if USE_WIN32_SERIAL1
#if USE_WIN32_SERIAL2
if (sdp == &SD2)
init(&SD2, SD2_PORT);
#endif

View File

@ -73,6 +73,7 @@
*****************************************************************************
*** 16.1.6 ***
- HAL: Fixed wrong check in win32 simulator serial driver (bug #765).
- HAL: Fixed dependency on RT in hal_usb.c (bug #764).
- HAL: Fixed wrong backup domain reset in STM32L4xx\hal_lld (bug #763).