Skip to content

Commit e8bd2fb

Browse files
nicole-osazPatater
authored andcommitted
Deprecate the Greentea metrics API
Add the deprecated macro to where the Greentea metrics API is declared. Fixes #14790
1 parent 7095dc7 commit e8bd2fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/frameworks/greentea-client/greentea-client/greentea_metrics.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "platform/mbed_toolchain.h"
12

23
/** \addtogroup frameworks */
34
/** @{*/
@@ -7,11 +8,13 @@
78
/**
89
* Setup platform specific metrics
910
*/
11+
MBED_DEPRECATED_SINCE("mbed-os-6.14", "Greentea metrics API are deprecated")
1012
void greentea_metrics_setup(void);
1113

1214
/**
1315
* Report and cleanup platform specifc metrics
1416
*/
17+
MBED_DEPRECATED_SINCE("mbed-os-6.14", "Greentea metrics API are deprecated")
1518
void greentea_metrics_report(void);
1619

1720
#endif

0 commit comments

Comments
 (0)