From a64d6a4985ece52f4cbc82004c7fb019eba0b667 Mon Sep 17 00:00:00 2001 From: ferris Date: Wed, 25 Oct 2023 12:37:53 +0200 Subject: [PATCH] Typo --- embassy-nrf/src/nfc_parse.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/embassy-nrf/src/nfc_parse.rs b/embassy-nrf/src/nfc_parse.rs index 0332587a..d2cba5ec 100644 --- a/embassy-nrf/src/nfc_parse.rs +++ b/embassy-nrf/src/nfc_parse.rs @@ -1,9 +1,8 @@ - /// Value indicating that the Type 2 Tag contains NFC Forum defined data. const NFC_T2T_NFC_FORUM_DEFINED_DATA: u8 = 0xE1; /// Value used for calculating the first BCC byte of a Type 2 Tag serial number. -const NFC_T2T_UID_BCC_CASCADE_BYTE: u8 = 0x88; +const NFC_T2T_UID_BCC_CASCADE_BYTE: u8 = 0x88; /// Supported major version of the Type 2 Tag specification. const NFC_T2T_SUPPORTED_MAJOR_VERSION: u8 = 1; @@ -26,7 +25,7 @@ pub struct NfcType2Capabilities { minor_ver: u8, data_area_size: u8, read_access: u8, - write_access: u8 + write_access: u8, } #[derive(Default)] @@ -56,6 +55,4 @@ pub enum Error { VersionNotSupported, } -pub fn parsee_type2() -> Result { - -} \ No newline at end of file +pub fn parsee_type2() -> Result> {}