Browse Source

HAL_DUE build fix (#15286)

pull/1/head
Tanguy Pruvot 5 years ago
committed by Scott Lahteine
parent
commit
7c3d52cd6b
  1. 4
      Marlin/src/HAL/HAL_DUE/usb/compiler.h

4
Marlin/src/HAL/HAL_DUE/usb/compiler.h

@ -216,7 +216,7 @@
} }
# endif # endif
#else #else
# define Assert(expr) (() 0) # define Assert(expr) ((void) 0)
#endif #endif
/* Define WEAK attribute */ /* Define WEAK attribute */
@ -796,7 +796,7 @@ typedef struct
* *
* \note It may be used as a long jump opcode in some special cases. * \note It may be used as a long jump opcode in some special cases.
*/ */
#define Long_call(addr) ((*(void (*)())(addr))()) #define Long_call(addr) ((*(void (*)(void))(addr))())
/*! \name MCU Endianism Handling /*! \name MCU Endianism Handling

Loading…
Cancel
Save