fix: 更改 cpg1.0 io init
tw1508 = 0
This commit is contained in:
@@ -89,7 +89,7 @@ const elite_instance_t cpg_elite_instance = {
|
||||
const elite_instance_t *cpg_init(void)
|
||||
{
|
||||
tw1805_init();
|
||||
tw1508_set(16, 256);
|
||||
tw1508_set(0, 0);
|
||||
return &cpg_elite_instance;
|
||||
}
|
||||
|
||||
|
||||
+8
-8
@@ -11,14 +11,6 @@
|
||||
void cpg10_io_init(void)
|
||||
{
|
||||
const uint32_t pel_pins_default_high[] = {
|
||||
VA1H_PIN,
|
||||
VA2H_PIN,
|
||||
VA3H_PIN,
|
||||
VA4H_PIN,
|
||||
VB1H_PIN,
|
||||
VB2H_PIN,
|
||||
VB3H_PIN,
|
||||
VB4H_PIN,
|
||||
LED_R_PIN,
|
||||
LED_G_PIN,
|
||||
LED_B_PIN
|
||||
@@ -36,13 +28,21 @@ void cpg10_io_init(void)
|
||||
TW_SDI_PIN,
|
||||
HV_EN_PIN,
|
||||
ADPT1_S1_PIN,
|
||||
VA1H_PIN,
|
||||
VA1L_PIN,
|
||||
VA2H_PIN,
|
||||
VA2L_PIN,
|
||||
VA3H_PIN,
|
||||
VA3L_PIN,
|
||||
VA4H_PIN,
|
||||
VA4L_PIN,
|
||||
VB1H_PIN,
|
||||
VB1L_PIN,
|
||||
VB2H_PIN,
|
||||
VB2L_PIN,
|
||||
VB3H_PIN,
|
||||
VB3L_PIN,
|
||||
VB4H_PIN,
|
||||
VB4L_PIN,
|
||||
ADPT1_S4_PIN,
|
||||
ADPT1_S3_PIN,
|
||||
|
||||
Reference in New Issue
Block a user