summaryrefslogtreecommitdiff
path: root/stm32/debug.h
diff options
context:
space:
mode:
authorLeo C2018-04-03 13:43:51 +0200
committerLeo C2018-04-03 14:11:21 +0200
commitb4e3fab85fcd9f5b1502ec991c81302b910492d3 (patch)
treeaaecd209346d170e800c27951a33d323c4935862 /stm32/debug.h
parent7af9364ebd7ad6c143f31e9abe745c6d75f8322b (diff)
downloadz180-stamp-b4e3fab85fcd9f5b1502ec991c81302b910492d3.zip
Remove STM32 variant (and submodule libopencm3)
Make spi_wait() and spi_write() allways inline.
Diffstat (limited to 'stm32/debug.h')
-rw-r--r--stm32/debug.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/stm32/debug.h b/stm32/debug.h
deleted file mode 100644
index 692c879..0000000
--- a/stm32/debug.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef DEBUG_H_
-#define DEBUG_H_
-
-#ifdef DEBUG
-#define DBG_P(lvl, ...) if (DEBUG>=lvl) fprintf( stderr, __VA_ARGS__ )
-#else
-#define DBG_P(lvl, ...)
-#endif
-
-#endif /* DEBUG_H_ */