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= where 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=, B= on one line, and C= on a second line. | @@ -171,7 +171,7 @@ logerror | | Logs PC= where 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=, B= on one line, and C= on a second line. | @@ -193,7 +193,7 @@ tracelog | | Outputs PC= where 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=, B= on one line, and C= on a second line. |