Skip to content

Commit 993d3c3

Browse files
committed
Use data result of REQ_HOST_BY_NAME_CMD in return value
1 parent 0afe72d commit 993d3c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utility/wifi_drv.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,10 @@ uint8_t WiFiDrv::reqHostByName(const char* aHostname)
719719

720720
SpiDrv::spiSlaveDeselect();
721721

722+
if (result) {
723+
result = (_data == 1);
724+
}
725+
722726
return result;
723727
}
724728

0 commit comments

Comments
 (0)