Skip to content

Commit

Permalink
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Browse files Browse the repository at this point in the history
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes #12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <[email protected]>
  • Loading branch information
howroyd authored and Dazza0 committed Feb 27, 2024
1 parent 900cf69 commit ece4e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_wifi/include/esp_smartconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef struct {
.enable_log = false, \
.esp_touch_v2_enable_crypt = false,\
.esp_touch_v2_key = NULL \
};
}

/**
* @brief Get the version of SmartConfig.
Expand Down

0 comments on commit ece4e4e

Please sign in to comment.