mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-26 20:34:54 +00:00
chore: remove unused wait_end param in request_timeslot
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user