TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
attributes.h
1 
31 #ifndef TM_ATTRIBUTES_H
32 #define TM_ATTRIBUTES_H
33 
34 /* Check for GNUC */
35 #if defined (__GNUC__)
36  #ifndef __weak
37  #define __weak __attribute__((weak))
38  #endif /* Weak attribute */
39  #ifndef __packed
40  #define __packed __attribute__((__packed__))
41  #endif /* Packed attribute */
42 #endif
43 
44 #endif