diff options
| author | hathach <[email protected]> | 2013-09-18 23:34:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-18 23:34:03 +0700 |
| commit | 61c591b9ac49022fd287827951cd1f34d4fdbb1a (patch) | |
| tree | f6f96b3be8c69e43cdc67483f8620cb46f707936 /tinyusb/class/cdc_host.c | |
| parent | 9d87a1c62b71b9ee2500b235d41297802db3dfe7 (diff) | |
clean up warnings
Diffstat (limited to 'tinyusb/class/cdc_host.c')
| -rw-r--r-- | tinyusb/class/cdc_host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/cdc_host.c b/tinyusb/class/cdc_host.c index 49899c63b..c15140ea8 100644 --- a/tinyusb/class/cdc_host.c +++ b/tinyusb/class/cdc_host.c @@ -76,8 +76,8 @@ static inline cdc_pipeid_t get_app_pipeid(pipe_handle_t pipe_hdl) cdch_data_t const * p_cdc = &cdch_data[pipe_hdl.dev_addr-1]; return pipehandle_is_equal( pipe_hdl, p_cdc->pipe_notification ) ? CDC_PIPE_NOTIFICATION : - pipehandle_is_equal( pipe_hdl, p_cdc->pipe_in ) ? CDC_PIPE_DATA_IN : - pipehandle_is_equal( pipe_hdl, p_cdc->pipe_out ) ? CDC_PIPE_DATA_OUT : 0; + pipehandle_is_equal( pipe_hdl, p_cdc->pipe_in ) ? CDC_PIPE_DATA_IN : + pipehandle_is_equal( pipe_hdl, p_cdc->pipe_out ) ? CDC_PIPE_DATA_OUT : CDC_PIPE_ERROR; } //--------------------------------------------------------------------+ |
