1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/nanocbor: fix typos

This commit is contained in:
Kaspar Schleiser 2019-10-23 21:18:08 +02:00
parent 04183aa8fd
commit de88c9a6eb

View File

@ -37,7 +37,7 @@ extern "C" {
/**
* @brief call providing htonll or be64toh or equivalent functionality
*
* must take a uint64_t big endian and return it in host endianess
* must take a uint64_t big endian and return it in host endianness
*/
#ifndef NANOCBOR_BE64TOH_FUNC
#define NANOCBOR_BE64TOH_FUNC(be) (ntohll(be))
@ -46,7 +46,7 @@ extern "C" {
/**
* @brief call providing htonll or htobe64 or equivalent functionality
*
* must take a uint64_t in host endianess and return the big endian value
* must take a uint64_t in host endianness and return the big endian value
*/
#ifndef NANOCBOR_HTOBE64_FUNC
#define NANOCBOR_HTOBE64_FUNC(be) (htonll(be))
@ -55,7 +55,7 @@ extern "C" {
/**
* @brief call providing htonll or htobe32 or equivalent functionality
*
* must take a uint32_t in host endianess and return the big endian value
* must take a uint32_t in host endianness and return the big endian value
*/
#ifndef NANOCBOR_HTOBE32_FUNC
#define NANOCBOR_HTOBE32_FUNC(he) htonl(he)