idf4: temporarily commenting out broken parts
This commit is contained in:
parent
16ef39e255
commit
6d243a0995
|
@ -1,3 +1,5 @@
|
|||
#if 0
|
||||
// FIXME - IDFv3 API no longer available; this needs a major rewrite :(
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
@ -305,3 +307,4 @@ LROT_BEGIN(eth)
|
|||
LROT_END(eth, NULL, 0)
|
||||
|
||||
NODEMCU_MODULE(ETH, "eth", eth, NULL);
|
||||
#endif
|
||||
|
|
|
@ -99,7 +99,7 @@ extern void wifi_sta_init (void);
|
|||
static int wifi_init (lua_State *L)
|
||||
{
|
||||
wifi_ap_init ();
|
||||
wifi_sta_init ();
|
||||
// FIXME wifi_sta_init ();
|
||||
|
||||
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
|
||||
esp_err_t err = esp_wifi_init (&cfg);
|
||||
|
@ -108,7 +108,7 @@ static int wifi_init (lua_State *L)
|
|||
}
|
||||
|
||||
|
||||
LROT_EXTERN(wifi_sta);
|
||||
//LROT_EXTERN(wifi_sta); FIXME
|
||||
LROT_EXTERN(wifi_ap);
|
||||
|
||||
LROT_BEGIN(wifi)
|
||||
|
@ -118,7 +118,7 @@ LROT_BEGIN(wifi)
|
|||
LROT_FUNCENTRY( start, wifi_start )
|
||||
LROT_FUNCENTRY( stop, wifi_stop )
|
||||
|
||||
LROT_TABENTRY ( sta, wifi_sta )
|
||||
// LROT_TABENTRY ( sta, wifi_sta ) FIXME
|
||||
LROT_TABENTRY ( ap, wifi_ap )
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#if 0
|
||||
// FIXME - tcpip_adapter deprecated/removed - need to rewrite for esp_netif
|
||||
|
||||
/*
|
||||
* Copyright 2016 Dius Computing Pty Ltd. All rights reserved.
|
||||
*
|
||||
|
@ -470,3 +473,4 @@ LROT_END(wifi_sta, NULL, 0)
|
|||
NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_START, do_connect);
|
||||
NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_DISCONNECTED, do_connect);
|
||||
NODEMCU_ESP_EVENT(SYSTEM_EVENT_SCAN_DONE, on_scan_done);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue