Skip to content

Commit

Permalink
remove debug msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
asimopunov authored Apr 18, 2024
1 parent 1b0370c commit a34d301
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib/adsb/AdsbConflict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,6 @@ void AdsbConflict::get_traffic_state()
old_conflict_warning_expired = (hrt_elapsed_time(&_traffic_buffer.timestamp[traffic_index]) > CONFLICT_WARNING_TIMEOUT);
}

PX4_DEBUG("Timestamp: %lu \n",
_traffic_buffer.timestamp[traffic_index]);
PX4_DEBUG("Time now: %lu \n", hrt_absolute_time());
PX4_DEBUG("Time since timestamp: %lu \n",
hrt_elapsed_time(&_traffic_buffer.timestamp[traffic_index]));
PX4_DEBUG("Old Conflict warning expired: %d \n", old_conflict_warning_expired);
PX4_DEBUG("--------------------\n");

if (new_traffic && _conflict_detected && !_traffic_buffer_full) {
add_icao_address_from_conflict_list(_transponder_report.icao_address);
_traffic_state = TRAFFIC_STATE::ADD_CONFLICT;
Expand Down

0 comments on commit a34d301

Please sign in to comment.