diff --git a/firmware/application/src/rfid/reader/lf/lf_t55xx_data.c b/firmware/application/src/rfid/reader/lf/lf_t55xx_data.c index d46c2db..769bd10 100644 --- a/firmware/application/src/rfid/reader/lf/lf_t55xx_data.c +++ b/firmware/application/src/rfid/reader/lf/lf_t55xx_data.c @@ -110,7 +110,7 @@ void t55xx_send_cmd(uint8_t opcode, uint32_t *passwd, uint8_t lock_bit, uint32_t t55xx_cmd.blk_addr = blk_addr; // request timing, and wait for the order operation to complete - request_timeslot(37 * 1000, t55xx_timeslot_callback, true); + request_timeslot(37 * 1000, t55xx_timeslot_callback); if (opcode != 0) { bsp_delay_ms(6); // Maybe continue to write a card next time, you need to wait more for a while diff --git a/firmware/application/src/utils/timeslot.c b/firmware/application/src/utils/timeslot.c index e92c23c..42bced3 100644 --- a/firmware/application/src/utils/timeslot.c +++ b/firmware/application/src/utils/timeslot.c @@ -92,7 +92,7 @@ nrf_radio_signal_callback_return_param_t *radio_callback(uint8_t signal_type) { /** * Request a sequence for high -precision operation */ -void request_timeslot(uint32_t time_us, timeslot_callback_t callback, bool wait_end) { +void request_timeslot(uint32_t time_us, timeslot_callback_t callback) { ret_code_t err_code; // Make sure there is only one at the same time diff --git a/firmware/application/src/utils/timeslot.h b/firmware/application/src/utils/timeslot.h index 4758acf..b29a2e2 100644 --- a/firmware/application/src/utils/timeslot.h +++ b/firmware/application/src/utils/timeslot.h @@ -5,7 +5,7 @@ #include typedef void (*timeslot_callback_t)(); -void request_timeslot(uint32_t time_us, timeslot_callback_t callback, bool wait_end); +void request_timeslot(uint32_t time_us, timeslot_callback_t callback); void timeslot_start(uint32_t time_us); void timeslot_stop(void); #endif