@@ -289,22 +289,22 @@ esp_err_t rc522_picc_select(const rc522_handle_t rc522, rc522_picc_uid_t *out_ui
289289 RC522_CHECK (rc522 == NULL );
290290 RC522_CHECK (skip_anticoll && (out_uid == NULL || out_uid -> length < RC522_PICC_UID_SIZE_MIN ));
291291
292- bool uid_complete ;
293- bool select_done ;
294- bool use_cascade_tag ;
295- uint8_t cascade_level = 1 ;
292+ bool uid_complete ;
293+ bool select_done ;
294+ bool use_cascade_tag ;
295+ uint8_t cascade_level = 1 ;
296296 esp_err_t ret ;
297- uint8_t count ;
298- uint8_t check_bit ;
299- uint8_t index ;
300- uint8_t uid_index ; // The first index in uid->uidByte[] that is used in the current Cascade Level.
301- int8_t current_level_known_bits ; // The number of known UID bits in the current Cascade Level.
302- uint8_t buffer [9 ]; // The SELECT/ANTICOLLISION commands uses a 7 byte standard frame + 2 bytes CRC_A
303- uint8_t buffer_used ; // The number of bytes used in the buffer, ie the number of bytes to transfer to the FIFO.
304- uint8_t rx_align ; // Used in BitFramingReg. Defines the bit position for the first bit received.
305- uint8_t tx_last_bits ; // Used in BitFramingReg. The number of valid bits in the last transmitted byte.
306- uint8_t * response_buffer ;
307- uint8_t response_length ;
297+ uint8_t count ;
298+ uint8_t check_bit ;
299+ uint8_t index ;
300+ uint8_t uid_index ; // First index in uid->uidByte[] used in the current Cascade Level
301+ int8_t current_level_known_bits ; // Number of known UID bits in the current Cascade Level
302+ uint8_t buffer [9 ]; // SELECT/ANTICOLLISION commands use a 7- byte frame + 2 bytes CRC_A
303+ uint8_t buffer_used ; // Number of bytes used in buffer, i.e., bytes to transfer to FIFO
304+ uint8_t rx_align ; // Used in BitFramingReg. Defines bit position for first bit received
305+ uint8_t tx_last_bits = 0 ; // Used in BitFramingReg. Valid bits in last transmitted byte
306+ uint8_t * response_buffer ;
307+ uint8_t response_length ;
308308
309309 rc522_picc_uid_t uid ;
310310
0 commit comments