Skip to content

Commit f8f27ce

Browse files
committed
fix(api): Fix comments for wifi_s(g)et_country
The return value type should be bool in comments block of country code API internal gitlab: 7989fc6c
1 parent 86acbd8 commit f8f27ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/user_interface.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,8 @@ typedef struct {
725725
*
726726
* @param wifi_country_t *country: the configured country info
727727
*
728-
* @return 0 : succeed
729-
* @return -1 : fail
728+
* @return true : succeed
729+
* @return false : fail
730730
*/
731731
bool wifi_set_country(wifi_country_t *country);
732732

@@ -735,8 +735,8 @@ bool wifi_set_country(wifi_country_t *country);
735735
*
736736
* @param wifi_country_t *country: country info
737737
*
738-
* @return 0 : succeed
739-
* @return -1 : fail
738+
* @return true : succeed
739+
* @return false : fail
740740
*/
741741
bool wifi_get_country(wifi_country_t *country);
742742

0 commit comments

Comments
 (0)