Skip to content

Commit 232f5c3

Browse files
committed
WHD: make independent from TARGET_Cypress
1 parent 4811ce6 commit 232f5c3

17 files changed

+2
-1
lines changed

connectivity/drivers/emac/TARGET_Cypress/COMPONENT_WHD/interface/CyDhcpServer.h renamed to connectivity/drivers/emac/COMPONENT_WHD/interface/CyDhcpServer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class CyDhcpServer {
100100
NetworkStack *_nstack = NULL;
101101
NetworkInterface *_niface = NULL;
102102
UDPSocket _socket;
103-
Thread _thread;
103+
rtos::Thread _thread;
104104
bool _running = false;
105105

106106
cy_ip_addr_t _available_addr;

connectivity/drivers/emac/TARGET_Cypress/COMPONENT_WHD/interface/WhdSTAInterface.cpp renamed to connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "whd_emac.h"
2828
#include "whd_wifi_api.h"
2929
#include "whd_wlioctl.h"
30+
#include "cy_utils.h"
3031

3132
#define CMP_MAC( a, b ) (((((unsigned char*)a)[0])==(((unsigned char*)b)[0]))&& \
3233
((((unsigned char*)a)[1])==(((unsigned char*)b)[1]))&& \

0 commit comments

Comments
 (0)