diff options
author | gornekich <n.gorbadey@gmail.com> | 2022-07-28 15:34:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 15:34:28 +0300 |
commit | c40e8811d68e9f4b8f603ae5d5826b814521014d (patch) | |
tree | 65146d9465342e925c3b6804197b2e01cc626639 /furi | |
parent | b6e52e979d07dbd17de80614df6fa224fcb9af33 (diff) |
[FL-2701], [FL-2702], [FL-2699] NFC fixes (#1478)
* nfc: change read scene views
* nfc: rework return after save success
* nfc: add fallback to read UID of unrecognized iso14443-3
* nfc: show mifare desfire on read success
* nfc: add restore original confirm scene
* nfc: fix icon name
* nfc: clear 6 bit in SAK to emulate 14443-4 uids
* nfc: don't change original sak
Diffstat (limited to 'furi')
-rw-r--r-- | furi/core/common_defines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/furi/core/common_defines.h b/furi/core/common_defines.h index e95e45f7..c211ad7e 100644 --- a/furi/core/common_defines.h +++ b/furi/core/common_defines.h @@ -92,6 +92,10 @@ extern "C" { #define FURI_BIT_SET(x, n) ((x) |= (1 << (n))) #endif +#ifndef FURI_BIT_CLEAR +#define FURI_BIT_CLEAR(x, n) ((x) &= ~(1 << (n))) +#endif + #ifndef FURI_IS_IRQ_MASKED #define FURI_IS_IRQ_MASKED() (__get_PRIMASK() != 0U) #endif |