disabling WifiComInterface Adhoc for now, I don't think it works yet so there's no reason to let it open network ports
This commit is contained in:
parent
0771dd39cb
commit
b971c6b4fd
|
@ -235,13 +235,13 @@ struct WifiComInterface
|
||||||
void (*usTrigger)();
|
void (*usTrigger)();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef EXPERIMENTAL_WIFI_COMM
|
||||||
bool SoftAP_Init();
|
bool SoftAP_Init();
|
||||||
void SoftAP_DeInit();
|
void SoftAP_DeInit();
|
||||||
void SoftAP_Reset();
|
void SoftAP_Reset();
|
||||||
void SoftAP_SendPacket(u8 *packet, u32 len);
|
void SoftAP_SendPacket(u8 *packet, u32 len);
|
||||||
void SoftAP_usTrigger();
|
void SoftAP_usTrigger();
|
||||||
|
|
||||||
#ifdef EXPERIMENTAL_WIFI_COMM
|
|
||||||
WifiComInterface SoftAP = {
|
WifiComInterface SoftAP = {
|
||||||
SoftAP_Init,
|
SoftAP_Init,
|
||||||
SoftAP_DeInit,
|
SoftAP_DeInit,
|
||||||
|
@ -249,7 +249,6 @@ WifiComInterface SoftAP = {
|
||||||
SoftAP_SendPacket,
|
SoftAP_SendPacket,
|
||||||
SoftAP_usTrigger
|
SoftAP_usTrigger
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
bool Adhoc_Init();
|
bool Adhoc_Init();
|
||||||
void Adhoc_DeInit();
|
void Adhoc_DeInit();
|
||||||
|
@ -264,10 +263,11 @@ WifiComInterface Adhoc = {
|
||||||
Adhoc_SendPacket,
|
Adhoc_SendPacket,
|
||||||
Adhoc_usTrigger
|
Adhoc_usTrigger
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
WifiComInterface* wifiComs[] = {
|
WifiComInterface* wifiComs[] = {
|
||||||
&Adhoc,
|
|
||||||
#ifdef EXPERIMENTAL_WIFI_COMM
|
#ifdef EXPERIMENTAL_WIFI_COMM
|
||||||
|
&Adhoc,
|
||||||
&SoftAP,
|
&SoftAP,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Reference in New Issue