mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
Fix MFClassic 4k reading - OFW PR 1712
PR by Astrrra
This commit is contained in:
parent
c2eeadc41e
commit
30ed8c1598
1 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#ifndef FURI_BIT_SET
|
||||
#define FURI_BIT_SET(x, n) ((x) |= (1 << (n)))
|
||||
#define FURI_BIT_SET(x, n) \
|
||||
({ \
|
||||
__typeof__(x) _x = (1); \
|
||||
(x) |= (_x << (n)); \
|
||||
})
|
||||
#endif
|
||||
|
||||
#ifndef FURI_BIT_CLEAR
|
||||
|
|
Loading…
Reference in a new issue