gpiomon: initialize the active low variable
authorClemens Gruber <clemens.gruber@pqgruber.com>
Mon, 22 Jan 2018 16:12:13 +0000 (17:12 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 23 Jan 2018 10:10:49 +0000 (11:10 +0100)
commit55d36adc16fa9e297c4d81ecbf8d41aa6b66de87
treee251a6d807767d5aa71b5f3a13a552abe9c18298
parent2ab19bd70697982f5915f4fcbaf78b0911380bac
gpiomon: initialize the active low variable

The variable active_low is not initialized, so the value is undefined
and if the -l argument is not passed, the undefined value remains. Fix
it by initializing it to false.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpiomon.c