diff options
| author | hathach <[email protected]> | 2018-12-07 23:38:52 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-07 23:38:52 +0700 |
| commit | 607658d047a3c27a096b9f6a25ea0a76f3d8735d (patch) | |
| tree | 3dba851636e65962ca00b092a9fd87f05db71589 /src/portable | |
| parent | e0199162637465b576b9f082404cf163c7cb1fef (diff) | |
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/nxp/lpc17_40/hal_lpc17_40.c | 2 | ||||
| -rw-r--r-- | src/portable/nxp/lpc18_43/hal_lpc18_43.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/portable/nxp/lpc17_40/hal_lpc17_40.c b/src/portable/nxp/lpc17_40/hal_lpc17_40.c index 2acd19f6e..04aebf920 100644 --- a/src/portable/nxp/lpc17_40/hal_lpc17_40.c +++ b/src/portable/nxp/lpc17_40/hal_lpc17_40.c @@ -47,7 +47,7 @@ extern void hal_dcd_isr(uint8_t rhport); void USB_IRQHandler(void) { - #if MODE_HOST_SUPPORTED + #if TUSB_OPT_HOST_ENABLED hal_hcd_isr(0); #endif diff --git a/src/portable/nxp/lpc18_43/hal_lpc18_43.c b/src/portable/nxp/lpc18_43/hal_lpc18_43.c index 48a25f99a..ef3977995 100644 --- a/src/portable/nxp/lpc18_43/hal_lpc18_43.c +++ b/src/portable/nxp/lpc18_43/hal_lpc18_43.c @@ -48,7 +48,7 @@ extern void hal_hcd_isr(uint8_t hostid); #if CFG_TUSB_RHPORT0_MODE void USB0_IRQHandler(void) { - #if MODE_HOST_SUPPORTED + #if TUSB_OPT_HOST_ENABLED hal_hcd_isr(0); #endif @@ -61,7 +61,7 @@ void USB0_IRQHandler(void) #if CFG_TUSB_RHPORT1_MODE void USB1_IRQHandler(void) { - #if MODE_HOST_SUPPORTED + #if TUSB_OPT_HOST_ENABLED hal_hcd_isr(1); #endif |
