Skip to content

Commit d764a7c

Browse files
author
deepikabhavnani
committed
OS version is not available in code, need a fix for this in next patch release
1 parent 5d8570b commit d764a7c

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

TESTS/mbed_platform/stats_sys/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ void test_sys_info()
3232
mbed_stats_sys_t stats;
3333
mbed_stats_sys_get(&stats);
3434

35-
#if defined(MBED_VERSION)
36-
TEST_ASSERT_NOT_EQUAL(0, stats.os_version);
37-
#endif
38-
3935
#if defined(__CORTEX_M)
4036
TEST_ASSERT_NOT_EQUAL(0, stats.cpu_id);
4137
#endif

platform/mbed_stats.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ void mbed_stats_sys_get(mbed_stats_sys_t *stats)
123123
memset(stats, 0, sizeof(mbed_stats_sys_t));
124124

125125
#if defined(MBED_SYS_STATS_ENABLED)
126-
#if defined(MBED_VERSION)
127-
stats->os_version = MBED_VERSION;
128-
#endif
129126
#if defined(__CORTEX_M)
130127
stats->cpu_id = SCB->CPUID;
131128
#endif

0 commit comments

Comments
 (0)