finishing inputgpiointerface

This commit is contained in:
Jonas Zeunert
2018-09-13 22:00:52 +02:00
parent cfc2321263
commit aedb2469c5
7 changed files with 96 additions and 50 deletions

View File

@@ -55,7 +55,7 @@ bool Detector::check_inputs(char& address)
{
for(char pin = 0; pin < (INPUT_MATRIX_SIZE * INPUT_MATRIX_SIZE); pin++)
{
if(input_gpio_interface->read_input_data(pin))
if(input_gpio_interface->read_data(pin))
{
address = pin;
return true;