diff options
| author | tmk <nobody@nowhere> | 2014-11-24 15:36:53 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-11-24 15:36:53 +0900 |
| commit | ed52ebb9870a26496b13a0565c1aaca8ded3465b (patch) | |
| tree | cddad806a3408e05bc29310254c564ee94e3e710 /common/mbed/xprintf.h | |
| parent | eb90ed6238426db9367e294abfaefb5de07564f5 (diff) | |
| parent | e2077cad45f1736e878e317c43bd94117c61b5e0 (diff) | |
| download | qmk_firmware-ed52ebb9870a26496b13a0565c1aaca8ded3465b.tar.gz qmk_firmware-ed52ebb9870a26496b13a0565c1aaca8ded3465b.zip | |
Merge branch 'merge_rn42'
Diffstat (limited to 'common/mbed/xprintf.h')
| -rw-r--r-- | common/mbed/xprintf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/mbed/xprintf.h b/common/mbed/xprintf.h new file mode 100644 index 000000000..26bc529e5 --- /dev/null +++ b/common/mbed/xprintf.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef XPRINTF_H | ||
| 2 | #define XPRINTF_H | ||
| 3 | |||
| 4 | //#define xprintf(format, ...) __xprintf(format, ##__VA_ARGS__) | ||
| 5 | |||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C" { | ||
| 8 | #endif | ||
| 9 | |||
| 10 | int xprintf(const char *format, ...); | ||
| 11 | |||
| 12 | #ifdef __cplusplus | ||
| 13 | } | ||
| 14 | #endif | ||
| 15 | |||
| 16 | |||
| 17 | #endif | ||
