diff options
| author | hathach <[email protected]> | 2013-03-12 12:06:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-12 12:06:40 +0700 |
| commit | 453ea3986563c11c74ab3bf9d773a90458635ede (patch) | |
| tree | 458c107257cb73cfcdb5b77aa2ef7131e19dbdd8 /tinyusb/osal | |
| parent | 38ff7123b4f43aa85ce1848a0cb99bb73303cadd (diff) | |
add project file for keil
fix binary.h compiler specific
add hal_init code to reset & set usbmode --> able to get USB ISR
remove const qualifier from return function of
- get_operational_register
- get_period_frame_list
- get_async_head
- get_period_head
- get_control_qhd
add stub for
- hcd_port_connect_status
- hcd_port_speed
Diffstat (limited to 'tinyusb/osal')
| -rw-r--r-- | tinyusb/osal/osal_common.h | 2 | ||||
| -rw-r--r-- | tinyusb/osal/osal_none.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h index 55860cb68..d896b2c01 100644 --- a/tinyusb/osal/osal_common.h +++ b/tinyusb/osal/osal_common.h @@ -61,7 +61,7 @@ enum { OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately OSAL_TIMEOUT_NORMAL = 10, // default is 10 msec - OSAL_TIMEOUT_WAIT_FOREVER = 0xFFFF0000 + OSAL_TIMEOUT_WAIT_FOREVER = 0x0EEEEEEE }; typedef enum { diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index af96213f5..27f460ed9 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -120,7 +120,7 @@ static inline uint32_t osal_tick_get(void) return status;\ }/* sub task finished ok --> continue */\ }\ - }while(1) + }while(0) #define OSAL_SUBTASK_BEGIN OSAL_TASK_LOOP_BEGIN #define OSAL_SUBTASK_END OSAL_TASK_LOOP_END |
