Ignore:
Timestamp:
Jun 26, 2021, 10:00:27 PM (3 years ago)
Author:
coas-nagasima
Message:

Ethernet版でもビルドが通るよう変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/adapters/platform_toppers.c

    r464 r468  
    5050}
    5151
     52int use_wifi = 0;
     53
    5254const IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio(void)
    5355{
    54         return tlsio_esp_at_get_interface_description();
    55         //return tlsio_wolfssl_get_interface_description();
     56        if (use_wifi) {
     57                return tlsio_esp_at_get_interface_description();
     58        }
     59        else {
     60                return tlsio_wolfssl_get_interface_description();
     61        }
    5662}
    5763
Note: See TracChangeset for help on using the changeset viewer.