mai2: update all LED boards to use two boards

This commit is contained in:
2025-03-02 00:01:45 +01:00
parent a1611afffc
commit 4cb76dd1ee
43 changed files with 273 additions and 265 deletions

View File

@ -93,12 +93,13 @@ static DWORD CALLBACK mai2_pre_startup(void)
}
// LED board uses COM21 and COM23
unsigned int led_port_no[2] = {21, 23};
hr = led15070_hook_init(&mai2_hook_cfg.led15070,
mai2_dll.led_init,
mai2_dll.led_set_fet_output,
mai2_dll.led_dc_update,
mai2_dll.led_gs_update,
21, 2);
led_port_no);
if (FAILED(hr)) {
goto fail;