Add _ctl support to SerialUSB Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Add _ctl support to SerialUSB  Topic is solved

Postby FXCoder » Tue Aug 29, 2017 2:43 pm

Hal_serial_usb missing the recent _ctl improvement.

Patch to add is attached.

Cheers,

Bob
Attachments
hal_serial_usb_ctl.zip
(998 Bytes) Downloaded 167 times

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: Add _ctl support to SerialUSB

Postby FXCoder » Tue Aug 29, 2017 2:53 pm

Fix required...
Forgot to change the #define test #if defined(SDU_LLD_IMPLEMENTS_CTL) on line 137,138 of hal_serial_usb.c

Code: Select all

#if defined(SDU_LLD_IMPLEMENTS_CTL)
    return sdu_lld_control(sdup, operation, arg);
 

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Add _ctl support to SerialUSB

Postby Giovanni » Tue Aug 29, 2017 3:02 pm

Committed thanks.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests