Skip to content

Conversation

acevest
Copy link
Contributor

@acevest acevest commented Jan 23, 2019

uint8_t run() {
    if(status != WL_CONNECTED || status == WL_NO_SSID_AVAIL || status == WL_IDLE_STATUS || status == WL_CONNECT_FAILED) {
        // ...
    }
}

these code are equal to

uint8_t run() {
    if(status != WL_CONNECTED) {
        // ...
    }
}

and equal to

uint8_t run() {
    if(status == WL_CONNECTED) {
        return status;
    }

    // ...
}

@me-no-dev me-no-dev merged commit aa2393b into espressif:master Feb 14, 2019
@me-no-dev
Copy link
Member

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants