chuniio: use HRESULT instead of int for chuni_io_led_init()

This commit is contained in:
2023-12-21 00:45:41 +01:00
parent ac9b889d71
commit d4372fa5c2
11 changed files with 35 additions and 24 deletions

View File

@ -16,7 +16,7 @@ struct led15093_config {
uint16_t fw_sum;
};
typedef int (*io_led_init_t)();
typedef HRESULT (*io_led_init_t)(void);
typedef void (*io_led_set_leds_t)(uint8_t board, uint8_t *rgb);
HRESULT led15093_hook_init(const struct led15093_config *cfg, io_led_init_t _led_init,