Skip to content

Commit 67cc178

Browse files
authored
2.0.4 hotfix (#1756)
1 parent 42c8722 commit 67cc178

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void setup() {
6363
}
6464
```
6565

66-
### Window Manager
66+
### Window Manager
6767

6868
The examples in this tutorial will be using the window manager method. This makes it easier to manage the screen elements and widgets. However, it is also possible to create emWin sketches without the window manager, which will be shown in this section.
6969

@@ -228,7 +228,7 @@ void setup() {
228228
229229
void loop() {
230230
/* Keep emWin alive, handle touch and other stuff */
231-
GUI_Exec();
231+
GUI_Exec();
232232
}
233233
```
234234

@@ -340,15 +340,15 @@ static void _cbChildWinCheck(WM_MESSAGE * pMsg) {
340340
/* Get Id of sender window and notification code */
341341
Id = WM_GetId(pMsg->hWinSrc);
342342
NCode = pMsg->Data.v;
343-
343+
344344
switch (Id) {
345345
case GUI_ID_CHECK0:
346346
switch(NCode) {
347347
case WM_NOTIFICATION_VALUE_CHANGED:
348348
/* When the value of the checkbox changed, redraw parent window to update the display of the state */
349349
WM_InvalidateWindow(pMsg->hWin);
350350
break;
351-
}
351+
}
352352
break;
353353
}
354354
break;
@@ -370,7 +370,7 @@ void setup() {
370370
371371
void loop() {
372372
/* Keep emWin alive, handle touch and other stuff */
373-
GUI_Exec();
373+
GUI_Exec();
374374
}
375375
```
376376

@@ -481,7 +481,7 @@ void setup() {
481481
482482
void loop() {
483483
/* Keep emWin alive, handle touch and other stuff */
484-
GUI_Exec();
484+
GUI_Exec();
485485
}
486486
```
487487

@@ -534,7 +534,7 @@ In the `void loop()` of the sketch the calculation of time for the animation nee
534534
<source src="assets/emwin_progbar.mp4" type="video/mp4" />
535535
</video>
536536

537-
<br>
537+
<br />
538538

539539
**Full Example:**
540540

@@ -631,7 +631,7 @@ void loop() {
631631
}
632632
633633
/* Keep emWin alive, handle touch and other stuff */
634-
GUI_Exec();
634+
GUI_Exec();
635635
}
636636
```
637637

@@ -709,7 +709,7 @@ static void _cbChildWinBtn(WM_MESSAGE * pMsg) {
709709
/* Get Id of sender window and notification code */
710710
Id = WM_GetId(pMsg->hWinSrc);
711711
NCode = pMsg->Data.v;
712-
712+
713713
switch (Id) {
714714
case ID_BUTTON:
715715
switch(NCode) {
@@ -744,7 +744,7 @@ void setup() {
744744
745745
void loop() {
746746
/* Keep emWin alive, handle touch and other stuff */
747-
GUI_Exec();
747+
GUI_Exec();
748748
}
749749
```
750750

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"homepage": "https://github.com/arduino/docs-content#readme",
2020
"dependencies": {
21-
"@arduino/docs-arduino-cc": "^2.0.4",
21+
"@arduino/docs-arduino-cc": "^2.0.4-hotfix",
2222
"gatsby": "^5.11.0",
2323
"gatsby-background-image": "^1.6.0",
2424
"gatsby-image": "^3.11.0",

0 commit comments

Comments
 (0)