|
@@ -761,9 +761,11 @@ void RefreshPageAnimation(byte value)
|
|
void RefreshConnStatus()
|
|
void RefreshConnStatus()
|
|
{
|
|
{
|
|
// Wifi priority is higher than Ethernet
|
|
// Wifi priority is higher than Ethernet
|
|
- if(ShmSysConfigAndInfo->SysConfig.AthInterface.WifiMode == _SYS_WIFI_MODE_STATION)
|
|
|
|
|
|
+ if(ShmSysConfigAndInfo->SysConfig.AthInterface.WifiMode == _SYS_WIFI_MODE_STATION ||
|
|
|
|
+ ShmSysConfigAndInfo->SysConfig.AthInterface.WifiMode == _SYS_WIFI_MODE_AP)
|
|
{
|
|
{
|
|
- if (ShmSysConfigAndInfo->SysConfig.AthInterface.WifiNetworkConn == YES)
|
|
|
|
|
|
+ if (ShmSysConfigAndInfo->SysConfig.AthInterface.WifiNetworkConn == YES ||
|
|
|
|
+ ShmStatusCodeData->InfoCode.InfoEvents.bits.InternetDisconnectViaWiFi == NO)
|
|
{
|
|
{
|
|
_wifi_conn_status = true;
|
|
_wifi_conn_status = true;
|
|
ChangeDisplay2Value(__ethernet_status, _disappear);
|
|
ChangeDisplay2Value(__ethernet_status, _disappear);
|