mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-01 16:59:16 +00:00
Merge branch 'dev' into nestednonces
This commit is contained in:
commit
47637621a7
3 changed files with 10 additions and 3 deletions
|
@ -40,7 +40,10 @@ static bool trt_parse(const NfcDevice* device, FuriString* parsed_data) {
|
||||||
const uint8_t* full_record_pointer = &data->page[FULL_SALE_TIME_STAMP_PAGE].data[0];
|
const uint8_t* full_record_pointer = &data->page[FULL_SALE_TIME_STAMP_PAGE].data[0];
|
||||||
uint32_t latest_sale_record = bit_lib_get_bits_32(partial_record_pointer, 3, 20);
|
uint32_t latest_sale_record = bit_lib_get_bits_32(partial_record_pointer, 3, 20);
|
||||||
uint32_t latest_sale_full_record = bit_lib_get_bits_32(full_record_pointer, 0, 27);
|
uint32_t latest_sale_full_record = bit_lib_get_bits_32(full_record_pointer, 0, 27);
|
||||||
if(latest_sale_record != (latest_sale_full_record & 0xFFFFF)) break;
|
if(latest_sale_record != (latest_sale_full_record & 0xFFFFF))
|
||||||
|
break; // check if the copy matches
|
||||||
|
if((latest_sale_record == 0) || (latest_sale_full_record == 0))
|
||||||
|
break; // prevent false positive
|
||||||
|
|
||||||
// Parse date
|
// Parse date
|
||||||
// yyy yyyymmmm dddddhhh hhnnnnnn
|
// yyy yyyymmmm dddddhhh hhnnnnnn
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
/**
|
/**
|
||||||
@mainpage Overview
|
@mainpage notitle
|
||||||
|
## Welcome to Flipper Developer Documentation!
|
||||||
|
|
||||||
Welcome to the Flipper Developer Documentation!
|
---
|
||||||
|
|
||||||
This documentation is intended for developers interested in modifying the Flipper Zero firmware, creating Apps and JavaScript programs, or working on external hardware modules for the device.
|
This documentation is intended for developers interested in modifying the Flipper Zero firmware, creating Apps and JavaScript programs, or working on external hardware modules for the device.
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
* Example:
|
* Example:
|
||||||
* ./fbt --extra-define=DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN=gpio_ext_pb3
|
* ./fbt --extra-define=DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN=gpio_ext_pb3
|
||||||
*/
|
*/
|
||||||
|
#ifdef DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN
|
||||||
|
#include <furi_hal.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TAG "DigitalSequence"
|
#define TAG "DigitalSequence"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue