Merge pull request #970 from sagar-apple/post_merge_review
Address post merge review comment
diff --git a/examples/wifi-echo/server/esp32/main/LEDWidget.cpp b/examples/wifi-echo/server/esp32/main/LEDWidget.cpp
index 6d5ae5d..88d0c1d 100644
--- a/examples/wifi-echo/server/esp32/main/LEDWidget.cpp
+++ b/examples/wifi-echo/server/esp32/main/LEDWidget.cpp
@@ -98,7 +98,7 @@
void LEDWidget::DoSet(bool state)
{
- bool stateChange = mState != state;
+ bool stateChange = (mState != state);
mState = state;
if (mGPIONum < GPIO_NUM_MAX)
{