# HG changeset patch # User Mychaela Falconia # Date 1484502187 0 # Node ID f8f7024caae32c4fd5dc1c86524b45d8a1ee36ef # Parent 1b48892cee25280901130a2cd1ffb86c99e5688a l1tm_stats.c: reconstruction complete, exact match to TCS211 binary object diff -r 1b48892cee25 -r f8f7024caae3 chipsetsw/layer1/tm_cfile/l1tm_stats.c --- a/chipsetsw/layer1/tm_cfile/l1tm_stats.c Sun Jan 15 17:28:17 2017 +0000 +++ b/chipsetsw/layer1/tm_cfile/l1tm_stats.c Sun Jan 15 17:43:07 2017 +0000 @@ -283,7 +283,7 @@ if (l1_config.tmode.stats_config.auto_result_loops) { - if ( ((l1tm.tmode_stats.loop_count) %((WORD32) l1_config.tmode.stats_config.auto_result_loops)) == 0) //omaps00090550 + if ( (l1tm.tmode_stats.loop_count % l1_config.tmode.stats_config.auto_result_loops) == 0) // time to report current stats. call l1tm_stats_read { l1tm_stats_read(&tm_ret, l1_config.tmode.stats_config.stat_type, l1_config.tmode.stats_config.stat_bitmask); @@ -300,7 +300,7 @@ if (l1_config.tmode.stats_config.auto_reset_loops) { - if (((l1tm.tmode_stats.loop_count) %( (WORD32)l1_config.tmode.stats_config.auto_reset_loops)) == 0) //omaps00090550 + if ((l1tm.tmode_stats.loop_count % l1_config.tmode.stats_config.auto_reset_loops) == 0) // time to reset stats. { l1tm_reset_rx_stats(); @@ -332,14 +332,9 @@ { // acknowledge end of RF_ENABLE operation - #if (ETM_PROTOCOL == 1) - tm_ret.mid = ETM_RF; - tm_ret.status = -ETM_FINISHED; - #else - tm_ret.status = E_FINISHED; - #endif tm_ret.cid = RF_ENABLE; tm_ret.index = 0; // No index value is sent + tm_ret.status = E_FINISHED; tm_ret.size = 1; tm_ret.result[0] = 1;