Merge pull request #586 from AlienWiiBF/VCP_fix

VCP fix from cleanflight PR#2120 by ledvinap
This commit is contained in:
MJ666 2016-06-25 21:57:57 +02:00 committed by GitHub
commit bbdf593b4b
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ enum EP_BUF_NUM
/* GetDADDR */
#define _GetDADDR() ((__IO uint16_t) *DADDR)
/* GetBTABLE */
#define _GetBTABLE() ((__IO uint16_t) *BTABLE)
/* GetBTABLE ; clear low-order bits explicitly to avoid problems in gcc 5.x */
#define _GetBTABLE() (((__IO uint16_t) *BTABLE) & ~0x07)
/* SetENDPOINT */
#define _SetENDPOINT(bEpNum,wRegValue) (*(EP0REG + bEpNum)= \