Skip to content

Commit 97651ad

Browse files
committed
Fix formatting of example code
Fix formatting issues which were not covered by the auto format. Fix formatting issues in AsciiDoc_Template-Dictionary.adoc, which I accidentally skipped during the auto format.
1 parent a3a5d99 commit 97651ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AsciiDoc_sample/AsciiDoc_Dictionary/AsciiDoc_Template-Dictionary.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ This is `code` in a sentence +
105105
This can be a lot more code
106106
[source,arduino]
107107
----
108-
for (int 1; i<=99; i++) {
109-
Serial.println('We want more code!');
108+
for (int i = 0; i <= 99; i++) {
109+
Serial.println('We want more code!');
110110
}
111111
----
112112
[%hardbreaks]

Language/Structure/Control Structure/break.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ No códgo seguinte, o break quebra o loop `for` quando o valor do sensor excede
2828
[source,arduino]
2929
----
3030
int lim = 40;
31-
for (x = 0; x < 255; x ++) {
31+
for (x = 0; x < 255; x++) {
3232
analogWrite(PWMpin, x);
3333
sens = analogRead(sensorPin);
3434
if (sens > lim) { // "foge" do o loop `for`

0 commit comments

Comments
 (0)