Skip to content

Commit 1a9df42

Browse files
committed
Correct example given in greentea-client readme
1 parent b694a34 commit 1a9df42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/frameworks/greentea-client/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ For example, the `{{timeout;120}}}` string is a key-value message where the key
5555
## Test example
5656

5757
```c++
58+
#include "mbed.h"
5859
#include "greentea-client/test_env.h"
5960
#include "utest/utest.h"
6061
#include "unity/unity.h"
@@ -83,7 +84,7 @@ status_t greentea_setup(const size_t number_of_cases) {
8384
return greentea_test_setup_handler(number_of_cases);
8485
}
8586

86-
void app_start(int, char*[]) {
87+
void main(int, char*[]) {
8788
Harness::run(specification);
8889
}
8990
```

0 commit comments

Comments
 (0)