summaryrefslogtreecommitdiff
path: root/tinyusb/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-02 15:20:55 +0700
committerhathach <[email protected]>2018-03-02 15:20:55 +0700
commit4097d022542708ee2bc441552679834477a58cf6 (patch)
tree7079fc373aec266dd418c31a465fabed01af4574 /tinyusb/osal
parentb5f17fd8235b66b0137c79bf7abd26de4e77d3f7 (diff)
refactor hal
Diffstat (limited to 'tinyusb/osal')
-rw-r--r--tinyusb/osal/osal_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h
index 0a2608933..977b7d59d 100644
--- a/tinyusb/osal/osal_common.h
+++ b/tinyusb/osal/osal_common.h
@@ -48,10 +48,6 @@
#include "common/common.h"
-#ifdef __CC_ARM
-#pragma diag_suppress 66 // Suppress Keil warnings #66-D: enumeration value is out of "int" range
-#endif
-
enum
{
OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately
@@ -59,10 +55,6 @@ enum
OSAL_TIMEOUT_WAIT_FOREVER = 0xFFFFFFFF
};
-#ifdef __CC_ARM
-#pragma diag_default 66 // return Keil 66 to normal severity
-#endif
-
static inline uint32_t osal_tick_from_msec(uint32_t msec) ATTR_CONST ATTR_ALWAYS_INLINE;
static inline uint32_t osal_tick_from_msec(uint32_t msec)
{