summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/gpio_control.md2
-rw-r--r--docs/quantum_painter_lvgl.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/gpio_control.md b/docs/gpio_control.md
index e1f1515b71..12413dfc8e 100644
--- a/docs/gpio_control.md
+++ b/docs/gpio_control.md
@@ -30,7 +30,7 @@ The above functions are not always guaranteed to work atomically. Therefore, if
eg.
```c
-void some_function() {
+void some_function(void) {
// some process
ATOMIC_BLOCK_FORCEON {
// Atomic Processing
diff --git a/docs/quantum_painter_lvgl.md b/docs/quantum_painter_lvgl.md
index 3edb37fbce..4d10160baf 100644
--- a/docs/quantum_painter_lvgl.md
+++ b/docs/quantum_painter_lvgl.md
@@ -45,7 +45,7 @@ To init. the display please read the [Display Initialisation](quantum_painter.md
### Quantum Painter LVGL Detach :id=lvgl-api-init
```c
-void qp_lvgl_detach()
+void qp_lvgl_detach(void)
```
The `qp_lvgl_detach` function stops the internal LVGL ticks and releases resources related to it.