Revert "ws281x include files workaround"

This reverts commit 1b98308718.
This commit is contained in:
LordGrey
2023-10-29 14:50:35 +01:00
parent 1b98308718
commit d4c8462634
4 changed files with 5 additions and 25 deletions

View File

@@ -60,7 +60,7 @@ if ( ENABLE_DEV_USB_HID )
endif()
if ( ENABLE_DEV_WS281XPWM )
target_include_directories(ws281x PRIVATE "${CMAKE_SOURCE_DIR}/include/ws2811")
include_directories(../../dependencies/external/rpi_ws281x)
FILE ( GLOB Leddevice_PWM_SOURCES "${CURRENT_SOURCE_DIR}/dev_rpi_pwm/*.h" "${CURRENT_SOURCE_DIR}/dev_rpi_pwm/*.cpp")
endif()

View File

@@ -3,7 +3,7 @@
// LedDevice includes
#include <leddevice/LedDevice.h>
#include <ws2811/ws2811.h>
#include <ws2811.h>
///
/// Implementation of the LedDevice interface for writing to WS281x LED-device via pwm.