diff --git a/content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md b/content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md
index ca42434ca1..93fcde9042 100644
--- a/content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md
+++ b/content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md
@@ -63,7 +63,7 @@ void setup() {
}
```
-### Window Manager
+### Window Manager
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.
@@ -228,7 +228,7 @@ void setup() {
void loop() {
/* Keep emWin alive, handle touch and other stuff */
- GUI_Exec();
+ GUI_Exec();
}
```
@@ -340,7 +340,7 @@ static void _cbChildWinCheck(WM_MESSAGE * pMsg) {
/* Get Id of sender window and notification code */
Id = WM_GetId(pMsg->hWinSrc);
NCode = pMsg->Data.v;
-
+
switch (Id) {
case GUI_ID_CHECK0:
switch(NCode) {
@@ -348,7 +348,7 @@ static void _cbChildWinCheck(WM_MESSAGE * pMsg) {
/* When the value of the checkbox changed, redraw parent window to update the display of the state */
WM_InvalidateWindow(pMsg->hWin);
break;
- }
+ }
break;
}
break;
@@ -370,7 +370,7 @@ void setup() {
void loop() {
/* Keep emWin alive, handle touch and other stuff */
- GUI_Exec();
+ GUI_Exec();
}
```
@@ -481,7 +481,7 @@ void setup() {
void loop() {
/* Keep emWin alive, handle touch and other stuff */
- GUI_Exec();
+ GUI_Exec();
}
```
@@ -534,7 +534,7 @@ In the `void loop()` of the sketch the calculation of time for the animation nee
-
+
**Full Example:**
@@ -631,7 +631,7 @@ void loop() {
}
/* Keep emWin alive, handle touch and other stuff */
- GUI_Exec();
+ GUI_Exec();
}
```
@@ -709,7 +709,7 @@ static void _cbChildWinBtn(WM_MESSAGE * pMsg) {
/* Get Id of sender window and notification code */
Id = WM_GetId(pMsg->hWinSrc);
NCode = pMsg->Data.v;
-
+
switch (Id) {
case ID_BUTTON:
switch(NCode) {
@@ -744,7 +744,7 @@ void setup() {
void loop() {
/* Keep emWin alive, handle touch and other stuff */
- GUI_Exec();
+ GUI_Exec();
}
```
diff --git a/package-lock.json b/package-lock.json
index 0ee0c72b89..6d28d1b2d1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"license": "ISC",
"dependencies": {
- "@arduino/docs-arduino-cc": "^2.0.4",
+ "@arduino/docs-arduino-cc": "^2.0.4-hotfix",
"gatsby": "^5.11.0",
"gatsby-background-image": "^1.6.0",
"gatsby-image": "^3.11.0",
@@ -306,9 +306,9 @@
}
},
"node_modules/@arduino/docs-arduino-cc": {
- "version": "2.0.4",
- "resolved": "https://npm.pkg.github.com/download/@arduino/docs-arduino-cc/2.0.4/e7267ff95f81b5f766830594b528a985c11f691a",
- "integrity": "sha512-6voWj4V8xJM9djJ1A77r4sf9It7qimOSD6hsPNnkGux1JihGlj53qN47ZSiG0quGhVRgdXEY/JlcKjZMUkECYw==",
+ "version": "2.0.4-hotfix",
+ "resolved": "https://npm.pkg.github.com/download/@arduino/docs-arduino-cc/2.0.4-hotfix/0d5cf885f8243d31c565271dc96d7ef55f7aaeab",
+ "integrity": "sha512-SYmzmds+RRUEkfJV6laNHXNYa1EeUiIasBmRZUz93R5GAEWZCE9sUj/4Ydyh8kde9Pr+p+sm5NHtlTkEdJ9Trw==",
"dependencies": {
"@algolia/autocomplete-core": "^1.10.0",
"@algolia/autocomplete-preset-algolia": "^1.10.0",
diff --git a/package.json b/package.json
index 46b57a8bd0..2aa760ae2e 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
},
"homepage": "https://github.com/arduino/docs-content#readme",
"dependencies": {
- "@arduino/docs-arduino-cc": "^2.0.4",
+ "@arduino/docs-arduino-cc": "^2.0.4-hotfix",
"gatsby": "^5.11.0",
"gatsby-background-image": "^1.6.0",
"gatsby-image": "^3.11.0",