EFTM32 ITM: Add missing ~ in bit clear operation. From pn_bouteville@yahoo.fr

This commit is contained in:
Gregory Nutt 2014-11-01 06:51:14 -06:00
parent e5f9501858
commit 180a8bf8f6
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ static inline void efm32_itm_syslog(void)
*/
regval = getreg32(EFM32_GPIO_ROUTE);
regval &= _GPIO_ROUTE_SWLOCATION_MASK;
regval &= ~_GPIO_ROUTE_SWLOCATION_MASK;
regval |= GPIO_ROUTE_SWOPEN;
regval |= ((uint32_t)BOARD_SWOPORT_LOCATION << _GPIO_ROUTE_SWLOCATION_SHIFT);
putreg32(regval, EFM32_GPIO_ROUTE);