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 /hw | |
| parent | e0199162637465b576b9f082404cf163c7cb1fef (diff) | |
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c b/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c index 0c5f5189c..427e8733c 100644 --- a/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c +++ b/hw/bsp/lpcxpresso1769/board_lpcxpresso1769.c @@ -148,7 +148,7 @@ void board_init(void) LPC_USB->OTGClkCtrl = clk_en; while ( (LPC_USB->OTGClkSt & clk_en) != clk_en ); -#if MODE_HOST_SUPPORTED +#if TUSB_OPT_HOST_ENABLED // set portfunc to host !!! LPC_USB->StCtrl = 0x3; // should be 1 #endif |
