OS version is not available in code, need a fix for this in next patch release

pull/7059/head
deepikabhavnani 2018-05-30 08:52:51 -05:00
parent 5d8570be39
commit d764a7c627
2 changed files with 0 additions and 7 deletions

View File

@ -32,10 +32,6 @@ void test_sys_info()
mbed_stats_sys_t stats;
mbed_stats_sys_get(&stats);
#if defined(MBED_VERSION)
TEST_ASSERT_NOT_EQUAL(0, stats.os_version);
#endif
#if defined(__CORTEX_M)
TEST_ASSERT_NOT_EQUAL(0, stats.cpu_id);
#endif

View File

@ -123,9 +123,6 @@ void mbed_stats_sys_get(mbed_stats_sys_t *stats)
memset(stats, 0, sizeof(mbed_stats_sys_t));
#if defined(MBED_SYS_STATS_ENABLED)
#if defined(MBED_VERSION)
stats->os_version = MBED_VERSION;
#endif
#if defined(__CORTEX_M)
stats->cpu_id = SCB->CPUID;
#endif