aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlexander Hart <alex@hartcode.com>2020-04-28 16:39:08 -0500
committerGitHub <noreply@github.com>2020-04-29 07:39:08 +1000
commite02a3c559dfff16dd523e1b5ef65bf983f3638db (patch)
tree4f07332254cbff516119c0112a052013b9aedcc5 /docs
parente1217dae5a659448920a6b0a987f9a2d24ea498c (diff)
downloadfirmware-e02a3c559dfff16dd523e1b5ef65bf983f3638db.tar.gz
firmware-e02a3c559dfff16dd523e1b5ef65bf983f3638db.tar.bz2
firmware-e02a3c559dfff16dd523e1b5ef65bf983f3638db.zip
Edit Unit Testing Documentation (#8961)
Diffstat (limited to 'docs')
-rw-r--r--docs/unit_testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/unit_testing.md b/docs/unit_testing.md
index 4de5c217e..a63ffff5d 100644
--- a/docs/unit_testing.md
+++ b/docs/unit_testing.md
@@ -50,7 +50,7 @@ In that model you would emulate the input, and expect a certain output from the
# Tracing Variables :id=tracing-variables
-Sometimes you might wonder why a variable gets changed and where, and this can be quite tricky to track down without having a debugger. It's of course possible to manually add print statements to track it, but you can also enable the variable trace feature. This works for both for variables that are changed by the code, and when the variable is changed by some memory corruption.
+Sometimes you might wonder why a variable gets changed and where, and this can be quite tricky to track down without having a debugger. It's of course possible to manually add print statements to track it, but you can also enable the variable trace feature. This works for both variables that are changed by the code, and when the variable is changed by some memory corruption.
To take the feature into use add `VARIABLE_TRACE=x` to the end of you make command. `x` represents the number of variables you want to trace, which is usually 1.