From 7cb34733fdc15989603b4f2574b822343cb6546b Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Wed, 9 Mar 2016 12:27:07 -0800 Subject: [PATCH] Actually, you can enable both flavors of PWM If you do a build with both ENABLE_WS2812BPWM and ENABLE_WS281XPWM and choose which LED driver using the device.type in the config.json Former-commit-id: 35ae88ad8739cac406a9b8792e2223010bf5d144 --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58718d71..3e808141 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,10 +59,6 @@ if(ENABLE_OSX AND ENABLE_DISPMANX) message(FATAL_ERROR "dispmanx grabber and osx grabber cannot be used at the same time") endif(ENABLE_OSX AND ENABLE_DISPMANX) -if(ENABLE_WS2812BPWM AND ENABLE_WS281XPWM) - message(FATAL_ERROR "WS2812b and WS281x drivers cannot be used at the same time") -endif(ENABLE_WS2812BPWM AND ENABLE_WS281XPWM) - #if(ENABLE_QT5) # TODO vs ENABLE_QT4? #endif(ENABLE_QT5)