summaryrefslogtreecommitdiffstats
path: root/client/controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/controller.cpp')
-rw-r--r--client/controller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/controller.cpp b/client/controller.cpp
index a0269be3..e0b7fe77 100644
--- a/client/controller.cpp
+++ b/client/controller.cpp
@@ -334,9 +334,11 @@ bool ControllerConnection::handle_message(ControllerMsg *hdr)
case CONTROLLER_DELETE_MENU:
_handler->delete_menu();
break;
+#if USE_SMARTCARD
case CONTROLLER_ENABLE_SMARTCARD:
_handler->enable_smartcard(value);
break;
+#endif
case CONTROLLER_SEND_CAD:
default:
LOG_ERROR("Ignoring an unknown/SEND_CAD controller message %u", hdr->id);