Fixed bug 3601638.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5092 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
a82dec52e6
commit
1fdd4cfd9d
|
@ -476,14 +476,14 @@ struct USBDriver {
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#define usb_lld_connect_bus(usbp) (usbp->otg->GCCFG |= GCCFG_VBUSBSEN)
|
||||
#define usb_lld_connect_bus(usbp) ((usbp)->otg->GCCFG |= GCCFG_VBUSBSEN)
|
||||
|
||||
/**
|
||||
* @brief Disconnect the USB device.
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
#define usb_lld_disconnect_bus(usbp) (usbp->otg->GCCFG &= ~GCCFG_VBUSBSEN)
|
||||
#define usb_lld_disconnect_bus(usbp) ((usbp)->otg->GCCFG &= ~GCCFG_VBUSBSEN)
|
||||
|
||||
/*===========================================================================*/
|
||||
/* External declarations. */
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.5.2 ***
|
||||
- FIX: Fixed missing parenthesis in use of macro arguments (bug 3601638).
|
||||
- FIX: Fixed compile errors in Posix-GCC demo (bug 3601621)(backported
|
||||
to 2.4.4).
|
||||
- FIX: Fixed state checker error in MSP430 port (bug 3601460)(backported
|
||||
|
|
Loading…
Reference in New Issue