- BLE peripheral applications - dr_piezo and bladder_patch projects Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
309 B
C
15 lines
309 B
C
// file: debug_print.h
|
|
#ifndef DEBUG_PRINT_H
|
|
#define DEBUG_PRINT_H
|
|
|
|
#define ENABLE_PRINTF 1 // Set to 0 to disable globally
|
|
|
|
#if ENABLE_PRINTF
|
|
#include <stdio.h>
|
|
#define DBG_PRINTF(...) printf(__VA_ARGS__)
|
|
#else
|
|
#define DBG_PRINTF(...) // Do nothing
|
|
#endif
|
|
|
|
#endif // DEBUG_PRINT_H
|