mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
parent
e98122c9cb
commit
a99b7c5f59
@ -51,9 +51,9 @@ cd build
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
# optional: install into your system
|
# optional: install into your system
|
||||||
make install/strip
|
sudo make install/strip
|
||||||
# to uninstall (not very well tested, please keep that in mind)
|
# to uninstall (not very well tested, please keep that in mind)
|
||||||
make uninstall
|
sudo make uninstall
|
||||||
# ... or run it from compile directory
|
# ... or run it from compile directory
|
||||||
bin/hyperiond myconfig.json
|
bin/hyperiond myconfig.json
|
||||||
# webui is located on localhost:8099
|
# webui is located on localhost:8099
|
||||||
|
@ -44,7 +44,7 @@ bool LedDevicePiBlaster::init(const QJsonObject &deviceConfig)
|
|||||||
{
|
{
|
||||||
LedDevice::init(deviceConfig);
|
LedDevice::init(deviceConfig);
|
||||||
|
|
||||||
QString _deviceName = deviceConfig["output"].toString("/dev/pi-blaster");
|
_deviceName = deviceConfig["output"].toString("/dev/pi-blaster");
|
||||||
QJsonArray gpioMapping = deviceConfig["gpiomap"].toArray();
|
QJsonArray gpioMapping = deviceConfig["gpiomap"].toArray();
|
||||||
|
|
||||||
if (gpioMapping.isEmpty())
|
if (gpioMapping.isEmpty())
|
||||||
|
Loading…
Reference in New Issue
Block a user