lint: use correct type signature for Zephyr callbacks

This commit is contained in:
Chris Andreae
2023-12-18 23:07:40 +09:00
committed by Pete Johanson
parent 7a5155f36e
commit b8cb407351
3 changed files with 4 additions and 4 deletions

View File

@@ -232,7 +232,7 @@ static int rgb_settings_set(const char *name, size_t len, settings_read_cb read_
struct settings_handler rgb_conf = {.name = "rgb/underglow", .h_set = rgb_settings_set};
static void zmk_rgb_underglow_save_state_work(void) {
static void zmk_rgb_underglow_save_state_work(struct k_work *_work) {
settings_save_one("rgb/underglow/state", &state, sizeof(state));
}