summaryrefslogtreecommitdiff
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index e7b871acc..fe9915abe 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -291,7 +291,7 @@ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& cal
291 Common::Input::NfcStatus nfc{}; 291 Common::Input::NfcStatus nfc{};
292 switch (callback.type) { 292 switch (callback.type) {
293 case Common::Input::InputType::Nfc: 293 case Common::Input::InputType::Nfc:
294 nfc = callback.nfc_status; 294 return callback.nfc_status;
295 break; 295 break;
296 default: 296 default:
297 LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type); 297 LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type);