aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/consts.h2
-rw-r--r--client/dbconnector.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/client/consts.h b/client/consts.h
index 7ee81c8..a73fea7 100644
--- a/client/consts.h
+++ b/client/consts.h
@@ -1,5 +1,7 @@
#pragma once
+#include "../shared/wifi.h"
+
// delay between new record request in seconds
#define WS_CLIENT_STATION_POLL_INTERVAL 10
diff --git a/client/dbconnector.h b/client/dbconnector.h
index 5b9b1cf..73f4084 100644
--- a/client/dbconnector.h
+++ b/client/dbconnector.h
@@ -5,8 +5,7 @@
#include <QMessageBox>
//#include <QtSql>
//#include <QSqlDatabase>
-
-#define WS_ESP8266_WLAN_IP "129.168.0.1"
+#include "consts.h"
namespace Ui {
class dbConnector;