@@ -41,7 +41,7 @@ def get_type(self, node, suffix='param'):
41
41
if node .type .quals :
42
42
quals = ' ' .join (node .type .quals )
43
43
if node .type .type .names :
44
- type = node .type .type .names [ 0 ]
44
+ type = ' ' . join ( node .type .type .names )
45
45
return quals , type , typename
46
46
if isinstance (node .type , c_ast .PtrDecl ):
47
47
quals , type , name = self .get_type (node .type , 'ptr' )
@@ -298,9 +298,9 @@ def generate_remote_eap_api(function_prototypes, idf_ver_dir, component_path):
298
298
with open (eap_source , 'w' ) as eap , open (remote_source , 'w' ) as remote :
299
299
eap .write (COPYRIGHT_HEADER )
300
300
eap .write ('#include "esp_eap_client.h"\n ' )
301
- eap .write ('#include "esp_eap_client_remote .h"\n ' )
301
+ eap .write ('#include "esp_eap_client_remote_api .h"\n ' )
302
302
remote .write (COPYRIGHT_HEADER )
303
- remote .write ('#include "esp_eap_client_remote .h"\n ' )
303
+ remote .write ('#include "esp_eap_client_remote_api .h"\n ' )
304
304
remote .write ('#include "esp_log.h"\n \n ' )
305
305
remote .write ('#define WEAK __attribute__((weak))\n ' )
306
306
remote .write ('#define LOG_UNSUPPORTED_AND_RETURN(ret) ESP_LOGW("esp_eap_client_remote_weak", "%s unsupported", __func__); \\ \n return ret;\n ' )
0 commit comments