From dd2af374bd956b330a6d5b33c30b86b793dee312 Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Thu, 16 Jul 2020 10:52:53 +0200 Subject: [PATCH] tucana: Support displaying half duplex, too --- config/uwap-home/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/uwap-home/index.js b/config/uwap-home/index.js index 7548cd8..2a8d2b2 100644 --- a/config/uwap-home/index.js +++ b/config/uwap-home/index.js @@ -164,7 +164,9 @@ const config: Config = { "0": "Link Down", "6": "1000M", "5": "100M", - "3": "10M" + "4": "100M (Half Duplex)", + "3": "10M", + "2": "10M (Half Duplex)" }) }, command: { @@ -334,9 +336,8 @@ const config: Config = { ({ "Link Down": hex("#888888"), "1000M": hex("#00ff00"), - "100M": hex("#ff0000"), "10M": hex("#000000") - })[tucanaPower], + })[tucanaPower] || hex("#ff0000"), ui: [ { type: "toggle",