diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index dcb668d89f..d0dae78d24 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -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); } diff --git a/wled00/const.h b/wled00/const.h index 87375eb3e8..4307f8f9bf 100644 --- a/wled00/const.h +++ b/wled00/const.h @@ -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)