Skip to content

Commit

Permalink
aw2013: Fix typo in condition line
Browse files Browse the repository at this point in the history
Change-Id: I8b9a45a190014d09973dd89cf5b0898fcaecc602
  • Loading branch information
HighwayStar committed Feb 11, 2020
1 parent 47d41f6 commit 892b49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light/2.0-aw2013/service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int main() {
}

std::ofstream blueLedTime(kBlueLedTimePath);
if (!blueBlink) {
if (!blueLedTime) {
LOG(ERROR) << "Failed to open " << kBlueLedTimePath << ", error=" << errno
<< " (" << strerror(errno) << ")";
}
Expand Down

0 comments on commit 892b49e

Please sign in to comment.