mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/mbed_stats.c
- Revision:
- 187:0387e8f68319
- Parent:
- 186:707f6e361f3e
- Child:
- 188:bcfe06ba3d64
--- a/platform/mbed_stats.c Fri Jun 22 16:45:37 2018 +0100 +++ b/platform/mbed_stats.c Thu Sep 06 13:40:20 2018 +0100 @@ -1,6 +1,7 @@ #include "mbed_assert.h" #include "mbed_stats.h" #include "mbed_power_mgmt.h" +#include "mbed_version.h" #include <string.h> #include <stdlib.h> @@ -123,6 +124,7 @@ memset(stats, 0, sizeof(mbed_stats_sys_t)); #if defined(MBED_SYS_STATS_ENABLED) + stats->os_version = MBED_VERSION; #if defined(__CORTEX_M) stats->cpu_id = SCB->CPUID; #endif