[RTEMS Project] #3299: src/c/src/lib/libbsp/arm/stm32f4x/hal/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c:2891: bad bitmask ?

RTEMS trac trac at rtems.org
Wed Feb 14 15:08:22 UTC 2018


#3299: src/c/src/lib/libbsp/arm/stm32f4x/hal/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c:2891:
bad bitmask ?
------------------------------+--------------------
  Reporter:  David Binderman  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  normal           |  Milestone:
 Component:  admin            |    Version:
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+--------------------
 [src/c/src/lib/libbsp/arm/stm32f4x/hal/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c:2891]:
 (style) Same expression on both sides of '|'.

 Source code is

     /* Disable ERRI, TCI, STOPI, NACKI, ADDRI, RXI, TXI interrupt */
     __HAL_FMPI2C_DISABLE_IT(hfmpi2c,FMPI2C_IT_ERRI | FMPI2C_IT_TCI|
 FMPI2C_IT_STOPI| FMPI2C_IT_NACKI | FMPI2C_IT_ADDRI | FMPI2C_IT_RXI |
 FMPI2C_IT_RXI );

 Comment and code don't match up. Note use of two *RXI at end of
 expression.

--
Ticket URL: <http://devel.rtems.org/ticket/3299>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list