revisions

This commit is contained in:
pls.153 2024-05-06 19:41:35 +02:00
parent 3898f0988e
commit 9aba49287c
6 changed files with 5 additions and 22 deletions

View file

@ -13,8 +13,6 @@ class Connection;
class BLE_ME : public BLE {
Q_OBJECT
/*** <INTERFACE> ****************************************/
public:
#ifdef Q_OS_ANDROID
BLE_ME(QtAndroidService*, Connection*);
@ -27,13 +25,6 @@ public Q_SLOTS:
void read();
void write(const QByteArray&);
Q_SIGNALS:
void setReady(bool, const QString&, const QStringList&);
void receivedFromRadio(const QByteArray&, const QString&);
void receivingDone();
/*** </INTERFACE> ***************************************/
public:
static const UID uuid_service;
static const UID uuid_fromRadio;

View file

@ -119,6 +119,8 @@ void Connection::setBackgroundMode(bool background) {
if (!backgroundMode) {
sendSavedBytes();
}
#else
Q_UNUSED(background)
#endif
}

View file

@ -2,7 +2,6 @@
#include "../connection.h"
#include <QSerialPortInfo>
#include <QTimer>
#include <QGuiApplication>
#include <QtDebug>
USB_ME::USB_ME(Connection* _con) : con(_con) {

View file

@ -8,8 +8,6 @@ class Connection;
class USB_ME : public QSerialPort {
Q_OBJECT
/*** <INTERFACE> ****************************************/
public:
USB_ME(Connection*);
@ -19,13 +17,6 @@ public Q_SLOTS:
void read2();
void write2(const QByteArray&);
Q_SIGNALS:
void setReady(const QString&);
void receivedFromRadio(const QByteArray&);
void receivingDone();
/*** </INTERFACE> ***************************************/
public:
bool ready = false;
Connection* con = nullptr;