From 57aa10f581c7dc6b5b034c87e4688c2917c1b70f Mon Sep 17 00:00:00 2001 From: HansM Date: Thu, 4 Oct 2018 19:05:59 +0200 Subject: [PATCH] Fixing doWhile.adoc example code is incorrect Fixes https://github.com/arduino/reference-en/issues/455 --- Language/Structure/Control Structure/doWhile.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Language/Structure/Control Structure/doWhile.adoc b/Language/Structure/Control Structure/doWhile.adoc index d62864d77..dad3f8c6e 100644 --- a/Language/Structure/Control Structure/doWhile.adoc +++ b/Language/Structure/Control Structure/doWhile.adoc @@ -46,6 +46,7 @@ The `condition` is a boolean expression that evaluates to `true` or `false`. [source,arduino] ---- +int x = 0; do { delay(50); // wait for sensors to stabilize @@ -69,4 +70,4 @@ do [role="language"] -- -// SEE ALSO SECTION ENDS \ No newline at end of file +// SEE ALSO SECTION ENDS