chore: remove unused wait_end param in request_timeslot

This commit is contained in:
TeCHiScy
2025-08-11 20:51:14 +08:00
parent a1f6a615b9
commit 584284c5d5
3 changed files with 3 additions and 3 deletions
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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