Skip to content

Commit

Permalink
Wi-fi display support was added
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB committed Apr 17, 2018
1 parent 74aba80 commit d5065ad
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions code/Arduino/connection/WiFi_my.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#include <string.h>

#include "WiFi_my.h"
#include "WiFi_my.h"
#include "DebugSerial.h"
#include "../config/Constants.h"
#include "../peripheral/display/DisplayManager.h"

#define MODULE_SERIAL Serial3

Expand All @@ -16,6 +15,11 @@ WiFi_my::WiFi_my(unsigned long speed) :IConnector(&MODULE_SERIAL) {
MODULE_SERIAL.begin(speed);

connect_to_module();
if (is_connected_)
{
DisplayManager::get_manager()->init_connector(ConnectorEnum::wifi_connector);
}

DEBUG_PRINTLN("Constructor wifi end");
}

Expand Down

0 comments on commit d5065ad

Please sign in to comment.