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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| behavior_subsystem.c | ||
| core.c | ||
| core_subsystem.c | ||
| gatt_rpc_transport.c | ||
| keymap_subsystem.c | ||
| msg_framing.c | ||
| msg_framing.h | ||
| rpc.c | ||
| uart_rpc_transport.c | ||
| uuid.h | ||