diff --git a/osp/src/ospHeartbeat.c b/osp/src/ospHeartbeat.c index 5b59c6f..3111356 100644 --- a/osp/src/ospHeartbeat.c +++ b/osp/src/ospHeartbeat.c @@ -71,7 +71,7 @@ uint32_t get_heartbeat_status(void) u32coreHeartbeatBitmap &= u32coreHeartbeatMask; - UCP_PRINT_WARN("[get_heartbeat_status]: HeartbeatBitMap = 0x%x\r\n", u32coreHeartbeatBitmap); + UCP_PRINT_LOG("[get_heartbeat_status]: HeartbeatBitMap = 0x%x\r\n", u32coreHeartbeatBitmap); return u32coreHeartbeatBitmap; } diff --git a/test/case24/src/testcase24.c b/test/case24/src/testcase24.c index 8ac934d..982bdee 100644 --- a/test/case24/src/testcase24.c +++ b/test/case24/src/testcase24.c @@ -36,7 +36,7 @@ uint32_t gu32_tick_receive_ctrl = 0; uint32_t gu32_tick_from_tx_ctrl = 0; uint32_t gu32_rx_callback_data_cnt = 0; -uint32_t gu32_switch = 0; +uint32_t gu32_switch = 1; void osp_switch(uint32_t u32_switch) { @@ -106,7 +106,7 @@ uint32_t rx1_callback_data(const char* buf,uint32_t payloadSize) if ((diff > 1020000) || (diff < 980000)) { - if((gu32_switch & 0x10) == 1) + if((gu32_switch & 0x10) == 0x10) { UCP_PRINT_ERROR("[1],qNO[%d],sfn[%d],slot[%d],diff[%d]",UCP4008_TRAFFIC_NR_eMBB_DATA,sfn,slot,diff); } @@ -141,7 +141,7 @@ uint32_t rx2_callback_data(const char* buf,uint32_t payloadSize) if ((diff > 1020000) || (diff < 980000)) { - if((gu32_switch & 0x100) == 1) + if((gu32_switch & 0x100) == 0x100) { UCP_PRINT_ERROR("[2],qNO[%d],sfn[%d],slot[%d],diff[%d]",UCP4008_TRAFFIC_NR_eMBB_DATA,sfn,slot,diff); } @@ -176,7 +176,7 @@ uint32_t rx3_callback_data(const char* buf,uint32_t payloadSize) if ((diff > 1020000) || (diff < 980000)) { - if((gu32_switch & 0x1000) == 1) + if((gu32_switch & 0x1000) == 0x1000) { UCP_PRINT_ERROR("[3],qNO[%d],sfn[%d],slot[%d],diff[%d]",UCP4008_TRAFFIC_NR_eMBB_DATA,sfn,slot,diff); }