From 892b49e429ca2c5faf86f25abe761a1ba9c2027b Mon Sep 17 00:00:00 2001 From: Vitaliy Tomin Date: Wed, 12 Feb 2020 00:53:20 +0800 Subject: aw2013: Fix typo in condition line Change-Id: I8b9a45a190014d09973dd89cf5b0898fcaecc602 --- light/2.0-aw2013/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light/2.0-aw2013/service.cpp b/light/2.0-aw2013/service.cpp index ff96560..2fde04c 100644 --- a/light/2.0-aw2013/service.cpp +++ b/light/2.0-aw2013/service.cpp @@ -117,7 +117,7 @@ int main() { } std::ofstream blueLedTime(kBlueLedTimePath); - if (!blueBlink) { + if (!blueLedTime) { LOG(ERROR) << "Failed to open " << kBlueLedTimePath << ", error=" << errno << " (" << strerror(errno) << ")"; } -- cgit v1.2.3