From 7877ce60f3227b0edeaee68ed83db2bd2bbdfc01 Mon Sep 17 00:00:00 2001 From: logicog Date: Sun, 19 Apr 2026 17:20:31 +0200 Subject: [PATCH] Add support for 5G link speeds, make 5G/10G LED blue --- html/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/main.js b/html/main.js index 8e50017..08499af 100644 --- a/html/main.js +++ b/html/main.js @@ -164,7 +164,9 @@ function update(callback) { } else { psvg.style.opacity = 1.0; pState[n] = p.link; - if (p.link == 4 || p.link == 5 || p.link == 6) { + if (p.link == 5 || p.link == 7) { + leds[0].style.fill = "green"; leds[1].style.fill = "blue"; + } else if (p.link == 4 || p.link == 6) { leds[0].style.fill = "green"; leds[1].style.fill = "orange"; } else if (p.link == 1 || p.link == 2 || p.link == 3) { leds[0].style.fill = "green"; leds[1].style.fill = "green";