moving configuration from main

This commit is contained in:
Philip Johansson 2020-04-05 20:36:04 +02:00
parent afd4d20f23
commit 5d0e8fb56a
2 changed files with 2 additions and 7 deletions

View File

@ -9,4 +9,5 @@
****************************************************/ ****************************************************/
const char* wifiSSID = "mySSID"; const char* wifiSSID = "mySSID";
const char* wifiPass = "myPass"; const char* wifiPass = "myPass";
const char* hostname = "Hexapod";

View File

@ -3,16 +3,10 @@
#include "Vbat.h" #include "Vbat.h"
#include "body.h" #include "body.h"
#include "settings.h" #include "settings.h"
#include <Arduino.h> #include <Arduino.h>
#include <WiFi.h> #include <WiFi.h>
#include <memory> #include <memory>
//! --- Start of onfiguration ---
const char* hostname = "Hexapod";
//! --- End of configuration ---
Body body = Body::instance(); Body body = Body::instance();
FlashConfig config; FlashConfig config;
std::unique_ptr<IRemote> remote; std::unique_ptr<IRemote> remote;