simtrace2/sam3s_example/atmel_softpack_libraries/usb
Christina Quast 79c2b72c7a Fix address evaluates always as true warnings
This was an example of a compiler warning when the switch -Waddress was passed:

atmel_softpack_libraries/usb/device/core/USBD.c: In function 'USBD_RequestHandler':
atmel_softpack_libraries/usb/device/core/USBD.c:149:14: warning: the address of
    'USBDCallbacks_RequestReceived' will always evaluate as 'true' [-Waddress]
     else if (USBDCallbacks_RequestReceived) {

The test for existense of USBDCallbacks_RequestReceived is removed since there
is always a default implementation of these function.
2015-01-27 14:32:47 +01:00
..
common atmel_softpack_libraries usb dir 2014-12-23 13:03:36 +01:00
device Fix address evaluates always as true warnings 2015-01-27 14:32:47 +01:00
include atmel_softpack_libraries usb dir 2014-12-23 13:03:36 +01:00
lib atmel_softpack_libraries usb dir 2014-12-23 13:03:36 +01:00
USBFrameworkArchitecture.png atmel_softpack_libraries usb dir 2014-12-23 13:03:36 +01:00
usb.h atmel_softpack_libraries usb dir 2014-12-23 13:03:36 +01:00