Fix SFP numbering.

This commit is contained in:
chriz
2026-02-13 14:54:35 +01:00
parent 15b0bf9664
commit 257d8aac4f
+1 -1
View File
@@ -275,7 +275,7 @@ __code const struct machine machine = {
.n_sfp = 2, .n_sfp = 2,
.log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5}, .log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5},
.phys_to_log_port = {4, 5, 6, 7, 8, 3, 0, 0, 0}, .phys_to_log_port = {4, 5, 6, 7, 8, 3, 0, 0, 0},
.is_sfp = {0, 0, 0, 1, 0, 0, 0, 0, 1}, .is_sfp = {0, 0, 0, 2, 0, 0, 0, 0, 1},
// Left SFP port // Left SFP port
.sfp_port[0].pin_detect = GPIO38, .sfp_port[0].pin_detect = GPIO38,