Skip to content

Commit

Permalink
Register SmartMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Oct 23, 2023
1 parent 228c090 commit 4734959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wled00/bus_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ int BusManager::add(BusConfig &bc) {
busses[numBusses] = new BusDigital(bc, numBusses, colorOrderMap);
} else if (bc.type == TYPE_ONOFF) {
busses[numBusses] = new BusOnOff(bc);
} else if (bc.type == TYPE_SMARTMATRIX) {
busses[numBusses] = new BusSmartMatrix(bc);
} else {
busses[numBusses] = new BusPwm(bc);
}
Expand Down
1 change: 1 addition & 0 deletions wled00/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
#define TYPE_LPD8806 52
#define TYPE_P9813 53
#define TYPE_LPD6803 54
#define TYPE_SMARTMATRIX 55
//Network types (master broadcast) (80-95)
#define TYPE_NET_DDP_RGB 80 //network DDP RGB bus (master broadcast bus)
#define TYPE_NET_E131_RGB 81 //network E131 RGB bus (master broadcast bus, unused)
Expand Down

0 comments on commit 4734959

Please sign in to comment.