Menu ▾ ▴

#512 STM32F1xx warning in stm32_dma.c

2.6.5
closed
None
Low
16.1.6
True
2017-01-02
2014-06-23
Morgoth
No

One of recent commits introduce a harmless warning for STM32F1xx platform. ChibiOS was warning free as far I remember then it would be nice to get rid of this one too.


Compiling stm32_dma.c
/home/morgoth/Development/ProjectsFIMS/stm32-sls/sb/../vendor/chibios/os/hal/platforms/STM32F1xx/stm32_dma.c: In function 'dmaStreamRelease':
/home/morgoth/Development/ProjectsFIMS/stm32-sls/sb/../vendor/chibios/os/hal/platforms/STM32F1xx/stm32_dma.c:487:26: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (dma_streams_mask & (3 << 10) == 0)


Discussion

  • Giovanni Di Sirio

    Thanks for finding, fixed in repository.

    Giovanni

     
  • Giovanni Di Sirio

    • assigned_to: Giovanni Di Sirio
    • Affected Version: 2.6.5 --> Trunk
    • Milestone: 2.6.6 --> 2.6.5
    • Fixed in Repository: False --> True
     
  • Giovanni Di Sirio

    • status: open --> closed
     

Log in to post a comment.