update gr_citrus as well

This commit is contained in:
hathach 2024-04-09 17:07:59 +07:00
parent 2828a56a4f
commit 27fc8a21cd
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -203,9 +203,10 @@ void board_init(void)
IEN(SCI0, TEI0) = 1; IEN(SCI0, TEI0) = 1;
/* Enable USB0 */ /* Enable USB0 */
unsigned short oldPRCR = SYSTEM.PRCR.WORD;
SYSTEM.PRCR.WORD = SYSTEM_PRCR_PRKEY | SYSTEM_PRCR_PRC1; SYSTEM.PRCR.WORD = SYSTEM_PRCR_PRKEY | SYSTEM_PRCR_PRC1;
MSTP(USB0) = 0; MSTP(USB0) = 0;
SYSTEM.PRCR.WORD = SYSTEM_PRCR_PRKEY; SYSTEM.PRCR.WORD = SYSTEM_PRCR_PRKEY | oldPRCR;
} }
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+