external_zblue/samples/modules
Martin Stumpf f9beccb9d0 samples: modules: lvgl: fix integer overflow
`lv_task_handler()` returns a `uint32_t`, but `k_msleep` takes a
`int32_t`.

If no timer exists, `lv_task_handler()` returns `UINT32_MAX` to indicate
that we should wait forever. However, this gets auto-cast to `-1`,
indicating to `k_msleep` to not wait at all, creating a busy loop.

Hence, a clamping to `[0, INT32_MAX]` is required.

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
2026-04-20 17:57:58 +08:00
..
canopennode boards: st: adopt new zephyr:board directive and role 2026-04-20 17:53:11 +08:00
chre samples: modules: use zephyr:code-sample directive 2026-04-20 17:39:38 +08:00
cmsis_dsp doc: samples: Adopt code-sample-category across tree 2026-04-20 17:44:55 +08:00
compression doc: samples: Adopt code-sample-category across tree 2026-04-20 17:44:55 +08:00
lvgl samples: modules: lvgl: fix integer overflow 2026-04-20 17:57:58 +08:00
nanopb samples: modules: use zephyr:code-sample directive 2026-04-20 17:39:38 +08:00
tflite-micro boards: mps3: Add support for corstone300/an552 2026-04-20 17:54:15 +08:00
thrift yaml: use EXTRA_CONF_FILE in .yaml files 2026-04-20 17:50:20 +08:00
index.rst doc: samples: Adopt code-sample-category across tree 2026-04-20 17:44:55 +08:00