zephyr/modules/lvgl/include/lvgl_encoder_input.h
Fabian Blatz 1896130bd8 modules: lvgl: fix initialization order depedencies
Removes the pseudo device prerequisite that the LVGL setup routine has been
executed before initialization. The pseudo devices are now registered at
the end of the LVGL setup routine, the driver is not concerned with
configuring the devices anymore. This also removes the need for enforcing
certain priorities within the same init level.

This resolves issue #62753.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-09-18 20:37:43 +02:00

23 lines
414 B
C

/*
* Copyright 2023 Fabian Blatz <fabianblatz@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_MODULES_LVGL_LVGL_ENCODER_INPUT_H_
#define ZEPHYR_MODULES_LVGL_LVGL_ENCODER_INPUT_H_
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
int lvgl_encoder_input_init(const struct device *dev);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_MODULES_LVGL_LVGL_ENCODER_INPUT_H_ */