Skip to content

Commit 425587d

Browse files
authored
Merge pull request contiki-ng#1489 from debug-ito/fix-radio-doc
dev/radio.h: fix some documentation
2 parents 9f29138 + 50d67a6 commit 425587d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os/dev/radio.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef unsigned radio_param_t;
9797
* More specifically, fields prefixed with `RADIO_PARAM_` may be passed as an
9898
* argument to any of those four functions. Exceptions are documented on a
9999
* per-field basis. Fields prefixed with `RADIO_CONST_` will only be passed as
100-
* an argument to `get_value()` and `get_obect()`.
100+
* an argument to `get_value()` and `get_object()`.
101101
*/
102102
enum radio_param_e {
103103

@@ -562,7 +562,7 @@ struct radio_driver {
562562
* `payload` will contain the MAC header (MHR) and MAC payload, but it
563563
* will _not_ contain the physical header or the MAC footer (MFR).
564564
*
565-
* `payload_len` must be lower than the value retrieved when calling
565+
* `payload_len` must be lower than or equal to the value retrieved when calling
566566
* NETSTACK_RADIO.get_value(RADIO_CONST_MAX_PAYLOAD_LEN, ...)
567567
*
568568
* This function will return an error if the radio driver could not copy

0 commit comments

Comments
 (0)