We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 959f351 commit cd63901Copy full SHA for cd63901
src/libevp-agent/evp_hub.c
@@ -113,12 +113,12 @@ evp_hub_setup(const char *iot_platform)
113
enum evp_hub_type
114
get_hub_type(const char *iot_platform)
115
{
116
- /* Assume EVP1 TB by default, even for invalid 'iot_platform' */
117
- enum evp_hub_type hub_type = EVP_HUB_TYPE_EVP1_TB;
+ /* Assume EVP2 TB by default, even for invalid 'iot_platform' */
+ enum evp_hub_type hub_type = EVP_HUB_TYPE_EVP2_TB;
118
119
if (iot_platform != NULL) {
120
- if (strcasecmp(iot_platform, HUB_TB_NAME) == 0) {
121
- hub_type = EVP_HUB_TYPE_EVP2_TB;
+ if (strcasecmp(iot_platform, HUB_EVP1_NAME) == 0) {
+ hub_type = EVP_HUB_TYPE_EVP1_TB;
122
}
123
124
0 commit comments