summaryrefslogtreecommitdiff
path: root/common/debug.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-18 01:11:06 +0900
committertmk <nobody@nowhere>2012-10-18 01:11:06 +0900
commit3c822b511e7af60332a7e5a938c08bafb2516ba3 (patch)
tree0a78cce225b04930de14935dffd36ce8f3bf2d76 /common/debug.h
parent93e33fb8f694c9685accd72ed0458a2cf3d3f04a (diff)
parentfffc375b45ad795c4a8d3cde94783dac195a2613 (diff)
Merge branch 'layerfix'
Diffstat (limited to 'common/debug.h')
-rw-r--r--common/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/debug.h b/common/debug.h
index 9cc8d882f3..1d56e21f77 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -23,6 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define debug(s) if(debug_enable) print_P(PSTR(s))
+#define debug_P(s) if(debug_enable) print_P(s)
+#define debug_S(s) if(debug_enable) print_S(s)
#define debug_hex(c) if(debug_enable) phex(c)
#define debug_hex16(i) if(debug_enable) phex16(i)
#define debug_bin(c) if(debug_enable) pbin(c)