aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/chprintf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-27 15:00:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-27 15:00:05 +0000
commitfdf08e2a4114e559e58bd067c817fe9079bc9bcf (patch)
tree77f1d61f4f2e17f69b2f667f3fb884a2ec71510e /os/various/chprintf.h
parenta553bca00f380e9e099dbe422e0c5206fb263164 (diff)
downloadChibiOS-fdf08e2a4114e559e58bd067c817fe9079bc9bcf.tar.gz
ChibiOS-fdf08e2a4114e559e58bd067c817fe9079bc9bcf.tar.bz2
ChibiOS-fdf08e2a4114e559e58bd067c817fe9079bc9bcf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3091 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/chprintf.h')
-rw-r--r--os/various/chprintf.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/os/various/chprintf.h b/os/various/chprintf.h
new file mode 100644
index 000000000..401b7eabf
--- /dev/null
+++ b/os/various/chprintf.h
@@ -0,0 +1,42 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file chprintf.h
+ * @brief Mini printf-like functionality.
+ *
+ * @addtogroup event_timer
+ * @{
+ */
+
+#ifndef _CHPRINTF_H_
+#define _CHPRINTF_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void chprintf(BaseChannel *chp, const char *fmt, ...);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _CHPRINTF_H_ */
+
+/** @} */