aboutsummaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
commitaae314fead54dab7b258f3a6c7ac1615833f9987 (patch)
treeae8eef88eae5d2031da89af3c16803b55987555e /debug.h
parent47e728d34e64d2dc04736828111490dc8b0a8258 (diff)
downloadstm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.gz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.bz2
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.xz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.zip
o Basic pre-emptive task switching OS.
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 1c262a6..d2926b3 100644
--- a/debug.h
+++ b/debug.h
@@ -5,6 +5,7 @@
extern "C" {
#endif
+__attribute__((format (printf, 1, 2)))
void dbg_printf(const char *fmt, ...);
void dbg_putc(void * junk, char);