added licence
This commit is contained in:
parent
3ffc015c01
commit
b45702ca37
@ -1,3 +1,21 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* *
|
||||
* This file is part of guh. *
|
||||
* *
|
||||
* Guh is free software: you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation, version 2 of the License. *
|
||||
* *
|
||||
* Guh is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with guh. If not, see <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#include "gpiomonitor.h"
|
||||
|
||||
GpioMonitor::GpioMonitor(QObject *parent) :
|
||||
|
||||
@ -1,3 +1,21 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* *
|
||||
* This file is part of guh. *
|
||||
* *
|
||||
* Guh is free software: you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation, version 2 of the License. *
|
||||
* *
|
||||
* Guh is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with guh. If not, see <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#ifndef GPIOMONITOR_H
|
||||
#define GPIOMONITOR_H
|
||||
|
||||
|
||||
@ -33,10 +33,6 @@ Radio433Receiver::Radio433Receiver(QObject *parent, int gpio) :
|
||||
m_enabled = false;
|
||||
m_mutex.unlock();
|
||||
|
||||
if(Gpio::isAvailable()){
|
||||
|
||||
}
|
||||
|
||||
connect(this, &Radio433Receiver::timingReady, this, &Radio433Receiver::handleTiming, Qt::DirectConnection);
|
||||
}
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@ SOURCES += plugin/device.cpp \
|
||||
plugin/devicedescriptor.cpp \
|
||||
devicemanager.cpp \
|
||||
hardware/gpio.cpp \
|
||||
hardware/gpiomonitor.cpp \
|
||||
hardware/radio433/radio433.cpp \
|
||||
hardware/radio433/radio433transmitter.cpp \
|
||||
hardware/radio433/radio433receiver.cpp \
|
||||
@ -30,7 +31,6 @@ SOURCES += plugin/device.cpp \
|
||||
types/param.cpp \
|
||||
types/paramdescriptor.cpp \
|
||||
types/statedescriptor.cpp \
|
||||
hardware/gpiomonitor.cpp
|
||||
|
||||
HEADERS += plugin/device.h \
|
||||
plugin/deviceclass.h \
|
||||
@ -38,6 +38,7 @@ HEADERS += plugin/device.h \
|
||||
plugin/devicedescriptor.h \
|
||||
devicemanager.h \
|
||||
hardware/gpio.h \
|
||||
hardware/gpiomonitor.h \
|
||||
hardware/radio433/radio433.h \
|
||||
hardware/radio433/radio433transmitter.h \
|
||||
hardware/radio433/radio433receiver.h \
|
||||
@ -56,5 +57,4 @@ HEADERS += plugin/device.h \
|
||||
types/paramdescriptor.h \
|
||||
types/statedescriptor.h \
|
||||
typeutils.h \
|
||||
hardware/gpiomonitor.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user