chusan: fixed LED configs

This commit is contained in:
Dniel97 2023-11-11 22:41:04 +01:00
parent 25562e37f9
commit 946ea7ef3b
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
5 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,6 @@
struct led1509306_config {
bool enable;
bool cvt_port;
char board_number[8];
char chip_number[5];
uint8_t fw_ver;

View File

@ -12,7 +12,7 @@
#include "chusanhook/chuni-dll.h"
#include "chusanhook/slider.h"
#include "chunihook/led1509306.h"
#include "chusanhook/led1509306.h"
struct chusan_hook_config {
struct platform_config platform;

View File

@ -11,7 +11,7 @@
#include "chusanhook/config.h"
#include "chusanhook/io4.h"
#include "chusanhook/slider.h"
#include "chunihook/led1509306.h"
#include "chusanhook/led1509306.h"
#include "chuniio/chuniio.h"

View File

@ -9,7 +9,7 @@
#include "board/led1509306-cmd.h"
#include "board/led1509306-frame.h"
#include "chunihook/led1509306.h"
#include "chusanhook/led1509306.h"
#include "hook/iobuf.h"
#include "hook/iohook.h"
@ -71,7 +71,7 @@ HRESULT led1509306_hook_init(const struct led1509306_config *cfg)
com_ports[0] = 20;
com_ports[1] = 21;
} else {
// CVT mode: COM3, COM23
// CVT mode: COM2, COM3
com_ports[0] = 2;
com_ports[1] = 3;
}

View File

@ -6,6 +6,7 @@
struct led1509306_config {
bool enable;
bool cvt_port;
char board_number[8];
char chip_number[5];
uint8_t fw_ver;