cc2540 usb hid相关代码存在错误,那个版本已经纠正了呢
TI大神们发现usb hid相关的代码存在bug,详细见下,我暂时发现了一个,怕还存在其他问题没有被发现出出来,请问那个版本已经纠正了?
/// Endpoint 4 OUT data received from host (FIFO disarmed) / stall sent
#define USBIRQ_EVENT_EP4OUT 0x2000
/// Endpoint 5 OUT data received from host (FIFO disarmed) / stall sent
#define USBIRQ_EVENT_EP5OUT 0x4000
//@}
//-------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------
/// \name Interrupt Mask Access Macros
//@{
/// Clears one or more events (use one or more \c USBIRQ_EVENT bits OR'ed together)
#define USBIRQ_CLEAR_EVENTS(mask) (usbirqData.eventMask &= ((mask) ^ 0xFF))
很显然这里应该用0xFFFF清楚事件位。那么哪个版本的已经稳定了呢?