forked from Dniel97/segatools
chusan: fixed LED configs
This commit is contained in:
parent
25562e37f9
commit
946ea7ef3b
@ -6,7 +6,6 @@
|
||||
|
||||
struct led1509306_config {
|
||||
bool enable;
|
||||
bool cvt_port;
|
||||
char board_number[8];
|
||||
char chip_number[5];
|
||||
uint8_t fw_ver;
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
struct led1509306_config {
|
||||
bool enable;
|
||||
bool cvt_port;
|
||||
char board_number[8];
|
||||
char chip_number[5];
|
||||
uint8_t fw_ver;
|
||||
|
Loading…
Reference in New Issue
Block a user