mirror of https://github.com/ARMmbed/mbed-os.git
OS version is not available in code, need a fix for this in next patch release
parent
5d8570be39
commit
d764a7c627
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue