mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
subghz upgrades [ci skip]
docs update pr template update changelog update
This commit is contained in:
@@ -290,9 +290,7 @@ bool mf_desfire_file_settings_parse(MfDesfireFileSettings* data, const BitBuffer
|
||||
printf("\r\n");
|
||||
break;
|
||||
}
|
||||
if(additional_access_rights_len >
|
||||
MF_DESFIRE_MAX_KEYS * sizeof(MfDesfireFileAccessRights))
|
||||
break;
|
||||
if(additional_access_rights_len > MF_DESFIRE_MAX_KEYS - 1) break;
|
||||
|
||||
memcpy(
|
||||
&file_settings_temp.access_rights[1],
|
||||
|
||||
@@ -169,6 +169,10 @@ static MfUltralightCommand
|
||||
|
||||
MfUltralightPage pages[64] = {};
|
||||
uint8_t page_cnt = (end_page - start_page) + 1;
|
||||
if(page_cnt > COUNT_OF(pages)) {
|
||||
command = MfUltralightCommandNotProcessedNAK;
|
||||
break;
|
||||
}
|
||||
mf_ultralight_listener_perform_read(pages, instance, start_page, page_cnt, do_i2c_check);
|
||||
|
||||
bit_buffer_copy_bytes(instance->tx_buffer, (uint8_t*)pages, page_cnt * 4);
|
||||
|
||||
Reference in New Issue
Block a user