Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#369 Missing parenthesis in use of macro arguments

closed-fixed
2014-05-09
2013-01-21
No

Parenthesis around usbp argument is needed in macros usb_lld_connect_bus and usb_lld_disconnect_bus in order to make code like this work:

usbConnectBus(&USBD1);

Otherwise there will be a compile error.

See attached patch.

Discussion

  • Hi, thanks for finding.

    Fixed in repository, will be fixed in 2.4.4.

     
    • assigned_to: nobody --> gdisirio
    • priority: 5 --> 3
    • milestone: 953057 --> 2.5.1unstable
    • status: open --> open-fixed
     
    • status: open-fixed --> closed-fixed