Skip to content

Commit e286e0b

Browse files
author
Nicolasdejean
committed
fix docs and example
1 parent e2121ca commit e286e0b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

docs/TheThingsMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Encode the message you want to send.
4848
static void encodeDeviceData(devicedata_t *data, byte **buffer, size_t *size);
4949
```
5050
51-
- `devicedata_t *data`: Structure containing all the message we can send.
51+
- `devicedata_t *data`: Structure containing typical fields that devices send.
5252
- `byte **buffer`: Bytes to send.
5353
- `size_t *size`: The number of bytes to send.
5454

examples/Message/Receive/Receive.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ void setup()
3535

3636
data.has_motion = true;
3737
data.has_water = true;
38-
data.has_temperature_celcius = false;
39-
data.has_temperature_fahrenheit = false;
40-
data.has_humidity = false;
4138
}
4239

4340
void loop() {

0 commit comments

Comments
 (0)