diff --git a/arch/mips/src/pic32mx/pic32mx-config.h b/arch/mips/src/pic32mx/pic32mx-config.h index 5a5ae00abb..4dd0a150e6 100644 --- a/arch/mips/src/pic32mx/pic32mx-config.h +++ b/arch/mips/src/pic32mx/pic32mx-config.h @@ -715,8 +715,8 @@ #endif #ifndef CONFIG_PIC32MX_FUPLLEN -# if defined(CHIP_PIC32MX3) || defined(CHIP_PIC32MX4) -# define CONFIG_PIC32MX_FUPLLEN 0 /* Bypass and disable */ +# if defined(CONFIG_PIC32MX_USBDEV) || defined(CONFIG_PIC32MX_USBHOST) +# define CONFIG_PIC32MX_FUPLLEN 0 /* Enable */ # else # define CONFIG_PIC32MX_FUPLLEN 1 /* Bypass and disable */ # endif