Suppress Keil warnings #66-D: enumeration value is out of "int" range
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_suppress 66 // Suppress Keil warnings #66-D: enumeration value is out of "int" range
|
||||
#endif
|
||||
|
||||
/// RNDIS Message Types
|
||||
typedef enum {
|
||||
RNDIS_MSG_PACKET = 0x00000001UL, ///< The host and device use this to send network data to one another.
|
||||
@@ -85,6 +89,10 @@ typedef enum {
|
||||
RNDIS_STATUS_MEDIA_DISCONNECT = 0x4001000CUL ///< Device is disconnected from the medium.
|
||||
}rndis_msg_status_t;
|
||||
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_default 66 // return Keil 66 to normal severity
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// MESSAGE STRUCTURE
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
@@ -41,6 +41,10 @@
|
||||
|
||||
#if TUSB_CFG_MCU == MCU_LPC175X_6X
|
||||
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_suppress 66 // Suppress Keil warnings #66-D: enumeration value is out of "int" range
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// IMPLEMENTATION
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
@@ -79,6 +79,10 @@ enum {
|
||||
OHCI_PERIODIC_START = 0x3E67
|
||||
};
|
||||
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_suppress 66 // Suppress Keil warnings #66-D: enumeration value is out of "int" range
|
||||
#endif
|
||||
|
||||
enum {
|
||||
OHCI_INT_SCHEDULING_OVERUN_MASK = BIT_(0),
|
||||
OHCI_INT_WRITEBACK_DONEHEAD_MASK = BIT_(1),
|
||||
@@ -92,6 +96,10 @@ enum {
|
||||
OHCI_INT_MASTER_ENABLE_MASK = BIT_(31),
|
||||
};
|
||||
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_default 66 // return Keil 66 to normal severity
|
||||
#endif
|
||||
|
||||
enum {
|
||||
OHCI_RHPORT_CURRENT_CONNECT_STATUS_MASK = BIT_(0),
|
||||
OHCI_RHPORT_PORT_ENABLE_STATUS_MASK = BIT_(1),
|
||||
|
||||
Reference in New Issue
Block a user