Skip to content

Commit df7a773

Browse files
committed
Correct syntax errors in documentation code snippet
1 parent bdfd504 commit df7a773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ None
2525
#### Example
2626

2727
```
28-
if (!YourScreen.begin() {
29-
Serial.println(Failed to initialize the display!);
28+
if (!YourScreen.begin()) {
29+
Serial.println("Failed to initialize the display!");
3030
while (1);
3131
}
3232
```

0 commit comments

Comments
 (0)