service: nfp: address comments

This commit is contained in:
german77 2022-09-24 22:52:33 -05:00
parent afea5c163f
commit 3ce0ef04dd
9 changed files with 29 additions and 26 deletions

View file

@ -291,7 +291,7 @@ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& cal
Common::Input::NfcStatus nfc{};
switch (callback.type) {
case Common::Input::InputType::Nfc:
nfc = callback.nfc_status;
return callback.nfc_status;
break;
default:
LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type);