From b3ac10cae7b4a95ca93fab375ee22d6c9802a8d0 Mon Sep 17 00:00:00 2001 From: hlyi Date: Sat, 10 Oct 2026 06:31:16 -0700 Subject: [PATCH] Update HG0402XG_V1_1.c Change 0xFF to GPIO_NA --- machine/HG0402XG_V1_1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machine/HG0402XG_V1_1.c b/machine/HG0402XG_V1_1.c index 6a420daa..5d7be1e9 100644 --- a/machine/HG0402XG_V1_1.c +++ b/machine/HG0402XG_V1_1.c @@ -11,12 +11,12 @@ __code const struct machine machine = { .is_sfp = {0, 0, 0, 2, 0, 0, 0, 0, 1}, .sfp_port[0].pin_detect = 50, .sfp_port[0].pin_los = 10, - .sfp_port[0].pin_tx_disable = 0xFF, + .sfp_port[0].pin_tx_disable = GPIO_NA, .sfp_port[0].sds = 1, .sfp_port[0].i2c = I2CBUS( GPIO41_I2C_SDA3_MDIO1, GPIO40_I2C_SCL3_MDC1 ), .sfp_port[1].pin_detect = 30, .sfp_port[1].pin_los = 51, - .sfp_port[1].pin_tx_disable = 0xFF, + .sfp_port[1].pin_tx_disable = GPIO_NA, .sfp_port[1].sds = 0, .sfp_port[1].i2c = I2CBUS( GPIO39_I2C_SDA4, GPIO40_I2C_SCL3_MDC1 ), .reset_pin = GPIO_NA,