diff options
author | Vitaliy Tomin <highwaystar.ru@gmail.com> | 2020-02-12 00:53:20 +0800 |
---|---|---|
committer | Vitaliy Tomin <highwaystar.ru@gmail.com> | 2020-02-12 00:53:20 +0800 |
commit | 892b49e429ca2c5faf86f25abe761a1ba9c2027b (patch) | |
tree | db6e3efc911d12522cd020ae29706057885623de | |
parent | 47d41f62e6f950ebec39f23c2325bb070957340c (diff) | |
download | hardware_lineage_interfaces-892b49e429ca2c5faf86f25abe761a1ba9c2027b.tar.gz hardware_lineage_interfaces-892b49e429ca2c5faf86f25abe761a1ba9c2027b.tar.bz2 hardware_lineage_interfaces-892b49e429ca2c5faf86f25abe761a1ba9c2027b.zip |
aw2013: Fix typo in condition line
Change-Id: I8b9a45a190014d09973dd89cf5b0898fcaecc602
-rw-r--r-- | light/2.0-aw2013/service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) << ")"; } |