Skip to content

Commit

Permalink
Add missing Mario hub to poweredup-browser
Browse files Browse the repository at this point in the history
fix for issue nathankellenicki#152
  • Loading branch information
Debenben committed Aug 14, 2022
1 parent e4c68e5 commit 3bba7c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/poweredup-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3bba7c7

Please sign in to comment.