Skip to content

Commit 4bfc6e0

Browse files
abobijagiangnh13579
authored andcommitted
CI: Validate on IDF 5.5 instead of latest (abobija#84)
The `latest` IDF branch has increased version to 6. Instead of `latest` branch CI will validate on latest 5 version which is 5.5
1 parent dc68b3b commit 4bfc6e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- release-v5.2
6363
- release-v5.3
6464
- release-v5.4
65-
- latest
65+
- release-v5.5
6666
idf_target:
6767
- esp32
6868

src/rc522_picc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ esp_err_t rc522_picc_select(const rc522_handle_t rc522, rc522_picc_uid_t *out_ui
300300
uint8_t uid_index; // The first index in uid->uidByte[] that is used in the current Cascade Level.
301301
int8_t current_level_known_bits; // The number of known UID bits in the current Cascade Level.
302302
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.
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 = 0; // Used in BitFramingReg. The number of valid bits in the last transmitted byte.
306306
uint8_t *response_buffer;
307307
uint8_t response_length;
308308

0 commit comments

Comments
 (0)