mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-01 14:29:08 +02:00
[Core] Introduce pointing device specific debug messages (#17663)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Copyright 2022 Stefan Kerkmann
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef POINTING_DEVICE_DEBUG
|
||||
# include "debug.h"
|
||||
# include "print.h"
|
||||
# define pd_dprintf(...) dprintf(__VA_ARGS__)
|
||||
#else
|
||||
# define pd_dprintf(...) \
|
||||
do { \
|
||||
} while (0)
|
||||
#endif
|
||||
Reference in New Issue
Block a user