|
|
@ -5,6 +5,7 @@ |
|
|
|
#include "base_service/fpga_if.h" |
|
|
|
#include "base_service/task_level_config.h" |
|
|
|
#include "base_service/xsync_regs.hpp" |
|
|
|
#include "global_flag.h" |
|
|
|
#include "iflytop_xsync\xs_udp.h" |
|
|
|
#include "reg_manager.h" |
|
|
|
|
|
|
@ -123,7 +124,7 @@ static uint32_t dtimes(timecode_parse_result_t *a, timecode_parse_result_t *b, b |
|
|
|
static uint32_t last_report_packet_time; |
|
|
|
|
|
|
|
static void try_report_device_info_packet() { |
|
|
|
if (xs_has_passedms(last_report_packet_time) >= 3000) { |
|
|
|
if (xs_has_passedms(last_report_packet_time) >= 300) { |
|
|
|
last_report_packet_time = xs_get_ticket(); |
|
|
|
create_and_send_device_online_packet(); |
|
|
|
} |
|
|
|