From f632ace6ed54d51f525906c0fc17c1ec2c5fae9e Mon Sep 17 00:00:00 2001 From: anschrammh Date: Fri, 11 Oct 2019 12:33:19 +0200 Subject: [PATCH] Updated the views data structure to display the wifi modes --- src/app/app.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.ino b/src/app/app.ino index 0aeb04d..c39cbb6 100644 --- a/src/app/app.ino +++ b/src/app/app.ino @@ -13,8 +13,8 @@ SAB sab; unsigned long currentMs = 0, buttonMs = 0; volatile boolean ioStateChange(false); View1Packet v1p = {sab.getRtcManager().getDateTime(), sab.getSdCardManager().getSize(GBYTE), sab.getPowerManager().getPowerInfo(),0, sab.getSoftVersion(), &sab}; -ViewAPPacket vap = {sab.getConnectivityManager().softAPmacAddress(), sab.getConnectivityManager().softAPSSID(), sab.getConnectivityManager().softAPIP(), sab.getConnectivityManager().softAPgetStationNum()}; -ViewSTAPacket vstap = {sab.getConnectivityManager().macAddress(), sab.getConnectivityManager().localIP(), sab.getConnectivityManager().RSSI()}; +ViewAPPacket vap = {sab.getConnectivityManager().softAPmacAddress(), sab.getConnectivityManager().softAPSSID(), sab.getConnectivityManager().softAPIP(), sab.getConnectivityManager().softAPgetStationNum(), sab.getConnectivityManager().isAPEnabled()}; +ViewSTAPacket vstap = {sab.getConnectivityManager().macAddress(), sab.getConnectivityManager().localIP(), sab.getConnectivityManager().RSSI(), sab.getConnectivityManager().isSTAEnabled()}; ViewIoInfoPacket vio = {{0},{0}}; SdCardApiPacket sdCardApiPacket = {NULL, NULL};