mirror of https://github.com/zmkfirmware/zmk.git
The "arg" field on nanopb structs is a void* because it is shared between the encode and decode callbacks, even though the encode callback probably should not modify the data. We are passing const data using this non-const pointer, which causes warnings about discarding const. This commit explicitly casts to void* to suppress these warnings. |
||
|---|---|---|
| .. | ||
| boards | ||
| dts | ||
| include | ||
| keymap-module | ||
| module | ||
| scripts | ||
| snippets | ||
| src | ||
| tests | ||
| .gitignore | ||
| .prettierrc.js | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.behaviors | ||
| Kconfig.defaults | ||
| VERSION | ||
| core-coverage.yml | ||
| package-lock.json | ||
| package.json | ||
| prj.conf | ||
| run-ble-test.sh | ||
| run-test.sh | ||
| west.yml | ||