Reorganize some core headers (#11983)
This commit is contained in:
@ -22,13 +22,13 @@
|
||||
|
||||
#ifdef ARDUINO_ARCH_SAM
|
||||
|
||||
#include "../../core/macros.h"
|
||||
#include "../../core/serial.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "../shared/backtrace/unwinder.h"
|
||||
#include "../shared/backtrace/unwmemaccess.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
// Debug monitor that dumps to the Programming port all status when
|
||||
// an exception or WDT timeout happens - And then resets the board
|
||||
|
||||
|
@ -105,7 +105,7 @@
|
||||
* \brief Marking \a v as a unused parameter or value.
|
||||
*/
|
||||
#ifndef UNUSED
|
||||
#define UNUSED(x) (void) (x)
|
||||
#define UNUSED(x) ((void)(x))
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -47,12 +47,10 @@
|
||||
#ifndef _CONF_USB_H_
|
||||
#define _CONF_USB_H_
|
||||
|
||||
#undef UNUSED /* To avoid a macro clash as macros.h already defines it */
|
||||
#include "../../../core/macros.h" /* For ENABLED()/DISABLED() */
|
||||
#include "../../../../Configuration.h" /* For CUSTOM_MACHINE_NAME definition - We just need the name, no C++ allowed! */
|
||||
#include "../../../core/macros.h" /* For ENABLED, DISABLED, MIN, MAX */
|
||||
#include "../../../../Configuration.h" /* For SDSUPPORT and CUSTOM_MACHINE_NAME definition - We just need the name, no C++ allowed! */
|
||||
#include "compiler.h"
|
||||
|
||||
|
||||
/**
|
||||
* USB Device Configuration
|
||||
* @{
|
||||
|
Reference in New Issue
Block a user