Skip to content

Commit ca9c5b6

Browse files
committed
Update CONTRIBUTING.md, fix Message/Send example
1 parent 93a780d commit ca9c5b6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Contributing
22

3-
We'd ❤️ to welcome your contribution. Please make sure you:
3+
We'd ❤️ to welcome your contribution. Please make sure your changes include:
44

5-
1. Keep [keywords.txt](../keywords.txt) up to date with your changes.
6-
2. Keep [API.md](../API.md) up to date with your changes.
5+
1. Examples: [examples](examples)
6+
2. Syntax highlighting: [keywords.txt](../keywords.txt)
7+
3. Documentation: [docs](docs)
8+
4. Tests: [test](test)
9+
5. Verification of the examples and tests: [.travis.yml](.travis.yml)

examples/Message/Send/Send.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ void loop() {
4646

4747
// Encode the selected fields of the struct as bytes
4848
byte *buffer;
49-
size_t buffer_size = 51;
5049
size_t size;
51-
TheThingsMessage::encodeSensorData(&data, &buffer, buffer_size, &size);
50+
TheThingsMessage::encodeSensorData(&data, &buffer, &size);
5251

5352
ttn.sendBytes(buffer, size);
5453

0 commit comments

Comments
 (0)