Skip to content

Commit

Permalink
fix flag
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Apr 16, 2020
1 parent aa3f8f2 commit 4c97570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ int main(int argc, char **argv)
if (G_parser(argc, argv))
exit(EXIT_FAILURE);

if (sensor_info_flag) {
if (sensor_info_flag->answer) {
fprintf(stdout, "sensor=k4w_v2\n");
return EXIT_SUCCESS;
}
Expand Down

0 comments on commit 4c97570

Please sign in to comment.