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

@ -140,9 +140,10 @@ void fgo_io_get_analogs(int16_t *stick_x, int16_t *stick_y)
}
}
int fgo_io_led_init()
HRESULT fgo_io_led_init(void)
{
return 0;
// return 0;
return S_OK;
}
void fgo_io_led_set_leds(uint8_t board, uint8_t *rgb)

View File

@ -77,7 +77,7 @@ void fgo_io_get_analogs(int16_t *stick_x, int16_t *stick_y);
overlap with each other. Ensuring synchronization inside your IO DLL is
your responsibility. */
int fgo_io_led_init();
HRESULT fgo_io_led_init(void);
/* Update the RGB LEDs.