Skip to content

Commit dd21ea9

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
Remvoed unnecessary trace print's.
(cherry picked from commit b0fc8d4b469aa5d70f08bbc8020ff74c7f6de2cb)
1 parent cb6e78b commit dd21ea9

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

source/Service_Libs/fhss/fhss.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@ static fhss_beacon_info_t *fhss_create_beacon_info(fhss_structure_t *fhss_struct
949949

950950
static int fhss_remove_beacon_info(fhss_structure_t *fhss_structure, uint16_t pan_id)
951951
{
952-
tr_debug("Remove synch info %u", pan_id);
953952
if (!fhss_structure || !fhss_structure->fhss_beacon_info_store) {
954953
return -1;
955954
}
@@ -1017,10 +1016,6 @@ void fhss_update_beacon_info_lifetimes(fhss_structure_t *fhss_structure, uint32_
10171016
uint32_t time_since_added = timestamp - beacon_info->timestamp;
10181017
// timestamp is microseconds, lifetime is seconds
10191018
if (time_since_added >= ((uint32_t)BEACON_INFO_LIFETIME * 1000000)) {
1020-
tr_debug("Remove synch info by timeout");
1021-
tr_debug("time_since_added: %"PRIu32"", time_since_added);
1022-
tr_debug("beacon_info->timestamp: %"PRIu32"", beacon_info->timestamp);
1023-
tr_debug("timestamp: %"PRIu32"", timestamp);
10241019
if (fhss_remove_beacon_info(fhss_structure, beacon_info->pan_id) == 0) {
10251020
return;
10261021
}

source/Service_Libs/fhss/fhss_mac_interface.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ void fhss_synch_state_set_cb(const fhss_api_t *api, fhss_states fhss_state, uint
225225
// Get Beacon info from storage
226226
fhss_beacon_info_t *beacon_info = fhss_get_beacon_info(fhss_structure, pan_id);
227227
if (beacon_info) {
228-
tr_debug("Synch to storaged value");
229228
memcpy(fhss_structure->synch_parent, beacon_info->source_address, 8);
230229
platform_enter_critical();
231230
// Calculate time since the Beacon was received
@@ -234,7 +233,6 @@ void fhss_synch_state_set_cb(const fhss_api_t *api, fhss_states fhss_state, uint
234233
fhss_beacon_received(fhss_structure, beacon_info->synch_info, elapsed_time);
235234
platform_exit_critical();
236235
// Delete stored Beacon infos
237-
tr_debug("Flush storaged Beacon's");
238236
fhss_flush_beacon_info_storage(fhss_structure);
239237
fhss_structure->synch_panid = pan_id;
240238
} else if (fhss_is_synch_root(fhss_structure) == true) {

0 commit comments

Comments
 (0)