style: fix some of the easier style bugs
No real changes.
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
/* no trace on cm0 #define ER_DEBUG */
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
#include "trace.h"
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
#define ER_DEBUG
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
#define ER_DEBUG
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
#define ER_DEBUG
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
/* no trace on cm0 #define ER_DEBUG */
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
#include "trace.h"
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
#define ER_DEBUG
|
||||
#ifdef ER_DEBUG
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
do { printf(fmt, ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define ER_DPRINTF(fmt, ...) \
|
||||
do { } while (0)
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
const struct rcc_clock_scale this_clock_config = {
|
||||
|
||||
Reference in New Issue
Block a user