From 39c80968687711ef1246e0143e3fc22c2ac7ae99 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Tue, 10 Dec 2024 18:24:02 +0000 Subject: [PATCH] Fix gpio_controller --- gpio_controllers/src/gpio_command_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpio_controllers/src/gpio_command_controller.cpp b/gpio_controllers/src/gpio_command_controller.cpp index e279c0b88d..36bce27bf4 100644 --- a/gpio_controllers/src/gpio_command_controller.cpp +++ b/gpio_controllers/src/gpio_command_controller.cpp @@ -174,7 +174,7 @@ void GpioCommandController::store_command_interface_types() void GpioCommandController::store_state_interface_types() { - for (const auto & entry : params_.command_interfaces.gpios_map) + for (const auto & entry : params_.state_interfaces.gpios_map) { const auto & gpio_name = entry.first; const auto & interfaces = entry.second;