Skip to content

Commit 9b416a8

Browse files
author
Deepika Bhavnani
authored
Merge pull request #8 from kegilbert/macro-tense-update
Update nsapi.socket-stats-enable macro to new term
2 parents b6ac7cd + c5ae6cb commit 9b416a8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Getting started with network socket statistics on Mbed OS
22

3-
This example demonstrates how you can collect statistics from network sockets. You can enable statistics with the `nsapi.socket-stats-enable` configuration option:
3+
This example demonstrates how you can collect statistics from network sockets. You can enable statistics with the `nsapi.socket-stats-enabled` configuration option:
44

55
```
66
{
77
"target_overrides": {
88
"*": {
9-
"nsapi.socket-stats-enable": true
9+
"nsapi.socket-stats-enabled": true
1010
}
1111
}
1212
}
@@ -37,4 +37,4 @@ Network interfaces are documented in [Mbed OS 5 documentation](https://os.mbed.c
3737
### License and contributions
3838
The software is provided under Apache-2.0 license. Contributions to this project are accepted under the same license. Please see [Contributing instructions](CONTRIBUTING.md) for more information.
3939

40-
This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide
40+
This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
#include "mbed.h"
1818

19-
#if !defined(MBED_CONF_NSAPI_SOCKET_STATS_ENABLE)
19+
#if !defined(MBED_CONF_NSAPI_SOCKET_STATS_ENABLED)
2020
#error [NOT_SUPPORTED] Socket Statistics not supported
2121
#endif
2222

mbed_app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"target_overrides": {
33
"*": {
4-
"nsapi.socket-stats-enable": true,
4+
"nsapi.socket-stats-enabled": true,
55
"nsapi.socket-stats-max-count": 10,
66
"platform.stdio-convert-newlines": true,
77
"target.network-default-interface-type": "ETHERNET"

0 commit comments

Comments
 (0)