summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Firehawke <Firehawke@gmail.com>2018-02-03 01:22:33 -0700
committer Vas Crabb <cuavas@users.noreply.github.com>2018-02-03 19:26:25 +1100
commit752cf3d07363053d03ad75a1579bd6544dbf2a69 (patch)
tree13a0a15b5a10c562da2cb6739bd6f48533c22b98
parent649c169c2ffb5daa68925114fce0d6d1159d61c0 (diff)
Missed a couple escape sequences. (nw)
-rw-r--r--docs/source/debugger/general.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/debugger/general.rst b/docs/source/debugger/general.rst
index 32e794c79f7..441374ae456 100644
--- a/docs/source/debugger/general.rst
+++ b/docs/source/debugger/general.rst
@@ -144,7 +144,7 @@ printf
|
| Prints PC=<pcval> where <pcval> is displayed in hexadecimal with 4 digits with zero-fill.
|
-| printf "A=%d, B=%d\nC=%d",a,b,a+b
+| printf "A=%d, B=%d\\nC=%d",a,b,a+b
|
| Prints A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.
|
@@ -171,7 +171,7 @@ logerror
|
| Logs PC=<pcval> where <pcval> is displayed in hexadecimal with 4 digits with zero-fill.
|
-| logerror "A=%d, B=%d\nC=%d",a,b,a+b
+| logerror "A=%d, B=%d\\nC=%d",a,b,a+b
|
| Logs A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.
|
@@ -193,7 +193,7 @@ tracelog
|
| Outputs PC=<pcval> where <pcval> is displayed in hexadecimal with 4 digits with zero-fill.
|
-| printf "A=%d, B=%d\nC=%d",a,b,a+b
+| printf "A=%d, B=%d\\nC=%d",a,b,a+b
|
| Outputs A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.
|