Skip to content

Commit

Permalink
Fixed Error STATUS_TCPCONNECT_PIN doesn't work to low when phy link i…
Browse files Browse the repository at this point in the history
…s disconnected.
  • Loading branch information
wiznet-mason committed Nov 25, 2024
1 parent 38d5a7b commit dd6fb3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion port/app/configuration/inc/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/* Application Firmware Version */
#define MAJOR_VER 1
#define MINOR_VER 0
#define MAINTENANCE_VER 5
#define MAINTENANCE_VER 6

#define DEV_CONFIG_VER 103

Expand Down
2 changes: 2 additions & 0 deletions port/app/platform_handler/src/netHandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ void net_status_task(void *argument)
}
if (check_phylink_status() == PHY_LINK_OFF) {
g_net_status = NET_LINK_DISCONNECTED;
if (get_device_status() != ST_ATMODE)
set_device_status(ST_OPEN);
process_socket_termination(SEG_DATA0_SOCK, SOCK_TERMINATION_DELAY);
xSemaphoreGive(seg_sem);
//device_raw_reboot();
Expand Down

0 comments on commit dd6fb3a

Please sign in to comment.