Fixed bug #765.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9703 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
53fe4e39fa
commit
0ac8c37d5b
|
@ -215,7 +215,7 @@ void sd_lld_init(void) {
|
||||||
SD1.com_name = "SD1";
|
SD1.com_name = "SD1";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_WIN32_SERIAL1
|
#if USE_WIN32_SERIAL2
|
||||||
sdObjectInit(&SD2, NULL, NULL);
|
sdObjectInit(&SD2, NULL, NULL);
|
||||||
SD2.com_listen = INVALID_SOCKET;
|
SD2.com_listen = INVALID_SOCKET;
|
||||||
SD2.com_data = INVALID_SOCKET;
|
SD2.com_data = INVALID_SOCKET;
|
||||||
|
@ -241,7 +241,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialConfig *config) {
|
||||||
init(&SD1, SD1_PORT);
|
init(&SD1, SD1_PORT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_WIN32_SERIAL1
|
#if USE_WIN32_SERIAL2
|
||||||
if (sdp == &SD2)
|
if (sdp == &SD2)
|
||||||
init(&SD2, SD2_PORT);
|
init(&SD2, SD2_PORT);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -123,6 +123,8 @@
|
||||||
- RT: Merged RT4.
|
- RT: Merged RT4.
|
||||||
- NIL: Merged NIL2.
|
- NIL: Merged NIL2.
|
||||||
- NIL: Added STM32F7 demo.
|
- NIL: Added STM32F7 demo.
|
||||||
|
- HAL: Fixed wrong check in win32 simulator serial driver (bug #765)
|
||||||
|
(backported to 16.1.6, 3.0.6, 2.6.10).
|
||||||
- HAL: Fixed dependency on RT in hal_usb.c (bug #764)(backported to 16.1.6).
|
- HAL: Fixed dependency on RT in hal_usb.c (bug #764)(backported to 16.1.6).
|
||||||
- HAL: Fixed wrong backup domain reset in STM32L4xx\hal_lld (bug #763)
|
- HAL: Fixed wrong backup domain reset in STM32L4xx\hal_lld (bug #763)
|
||||||
(backported to 16.1.6).
|
(backported to 16.1.6).
|
||||||
|
|
Loading…
Reference in New Issue