mirror of
https://github.com/kingk85/uFTP.git
synced 2025-04-12 10:48:40 +03:00
9 lines
351 B
C
9 lines
351 B
C
#ifndef ENABLE_PRINTF_MODULE
|
|
// Uncomment next line to enable debug printf
|
|
// #define ENABLE_PRINTF
|
|
#ifdef ENABLE_PRINTF
|
|
#define my_printf(fmt, args...) fprintf(stderr, " file: %s %d %s()" fmt, __FILE__, __LINE__, __func__, ##args)
|
|
#else
|
|
#define my_printf(format, ...) // Empty macro, no action
|
|
#endif
|
|
#endif |