From 3bba7c7e7343d8f9310ac347b8f775bdbb451b51 Mon Sep 17 00:00:00 2001 From: bene Date: Sun, 14 Aug 2022 10:11:59 +0200 Subject: [PATCH] Add missing Mario hub to poweredup-browser fix for issue #152 --- src/poweredup-browser.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/poweredup-browser.ts b/src/poweredup-browser.ts index bd19561..583ddda 100644 --- a/src/poweredup-browser.ts +++ b/src/poweredup-browser.ts @@ -158,6 +158,9 @@ export class PoweredUP extends EventEmitter { case Consts.BLEManufacturerData.TECHNIC_MEDIUM_HUB_ID: resolve(Consts.HubType.TECHNIC_MEDIUM_HUB); break; + case Consts.BLEManufacturerData.MARIO_ID: + resolve(Consts.HubType.MARIO); + break; } debug("Hub type determined"); } else {