Commit fa26cf2d authored by Dorian Zedler's avatar Dorian Zedler

minor changes

parent a5d7c61e
......@@ -2,7 +2,6 @@
ExtensionConn::ExtensionConn(QObject *parent, QString ip, int port, QString name, extensionType type, int debugLvl = 0) : QObject(parent)
{
this->log("Was created with parameters debugLvl:" + QString::number(this->debugLvl), 2);
// set object parameters
this->ip = ip;
......@@ -11,6 +10,8 @@ ExtensionConn::ExtensionConn(QObject *parent, QString ip, int port, QString name
this->type = type;
this->debugLvl = debugLvl;
this->log("Was created with parameters debugLvl:" + QString::number(this->debugLvl), 2);
this->errors = 0;
this->latest_button_pressed = 0;
this->connection_progress = 0;
......
......@@ -29,7 +29,7 @@ MainActivity::MainActivity(QObject *parent) : QObject(parent)
this->extensionConnections.append( new ExtensionConn(nullptr, "192.168.4.11", 80, "startpadA", ExtensionConn::STARTPAD, 1) );
// toppad lane B
this->extensionConnections.append( new ExtensionConn(nullptr, "192.168.4.12", 80, "buzzerB", ExtensionConn::TOPPAD, 1) );
this->extensionConnections.append( new ExtensionConn(nullptr, "192.168.4.12", 80, "toppadB", ExtensionConn::TOPPAD, 1) );
// startpad lane B
this->extensionConnections.append( new ExtensionConn(nullptr, "192.168.4.13", 80, "startpadB", ExtensionConn::STARTPAD, 1) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment