Skip to content

Commit

Permalink
mf ultralight: add upper page bound for NTAGI2C1K
Browse files Browse the repository at this point in the history
  • Loading branch information
gornekich committed Oct 24, 2023
1 parent 695385e commit 528f284
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/nfc/protocols/mf_ultralight/mf_ultralight_listener_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ static uint16_t mf_ultralight_get_upper_page_bound(MfUltralightType type) {
upper_page_bound = 511;
else if(type == MfUltralightTypeNTAGI2C2K)
upper_page_bound = 479;
else if(type == MfUltralightTypeNTAGI2C1K)
upper_page_bound = 225;
else {
upper_page_bound = mf_ultralight_get_config_page_num(type) - 2;
}
Expand Down

0 comments on commit 528f284

Please sign in to comment.