-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FL-3766] Refactor detected protocols list #3809
Conversation
Compiled f7 firmware for commit |
instance->selected_idx = 0; | ||
} | ||
|
||
uint32_t nfc_detected_protocols_get_num(NfcDetectedProtocols* instance) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uint32_t nfc_detected_protocols_get_num(NfcDetectedProtocols* instance) { | |
uint32_t nfc_detected_protocols_get_num(const NfcDetectedProtocols* instance) { |
return instance->protocols_detected_num; | ||
} | ||
|
||
NfcProtocol nfc_detected_protocols_get_protocol(NfcDetectedProtocols* instance, uint32_t idx) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NfcProtocol nfc_detected_protocols_get_protocol(NfcDetectedProtocols* instance, uint32_t idx) { | |
NfcProtocol nfc_detected_protocols_get_protocol(const NfcDetectedProtocols* instance, uint32_t idx) { |
instance->selected_idx = 0; | ||
} | ||
|
||
NfcProtocol nfc_detected_protocols_get_selected(NfcDetectedProtocols* instance) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NfcProtocol nfc_detected_protocols_get_selected(NfcDetectedProtocols* instance) { | |
NfcProtocol nfc_detected_protocols_get_selected(const NfcDetectedProtocols* instance) { |
What's new
Verification
Checklist (For Reviewer)