Fix some typos (#762)

This commit is contained in:
Jonathan
2024-09-11 15:20:32 +02:00
committed by GitHub
parent 07d194ab05
commit 6f35559170
5 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -345,7 +345,7 @@ bool bitstring_init_ascii(BACNET_BIT_STRING *bit_string, const char *ascii)
#define CHARACTER_STRING_CAPACITY (MAX_CHARACTER_STRING_BYTES - 1)
/**
* Initialize a BACnet characater string.
* Initialize a BACnet character string.
* Returns false if the string exceeds capacity.
* Initialize by using value=NULL
*
@@ -419,7 +419,7 @@ size_t characterstring_strnlen(const char *str, size_t maxlen)
}
/**
* Initialize a BACnet characater string.
* Initialize a BACnet character string.
* Returns false if the string exceeds capacity.
* Initialize by using value=NULL
*
@@ -438,7 +438,7 @@ bool characterstring_init_ansi_safe(
}
/**
* Initialize a BACnet characater string.
* Initialize a BACnet character string.
* Returns false if the string exceeds capacity.
* Initialize by using value=NULL
*
+3 -3
View File
@@ -349,7 +349,7 @@ int bvlc6_send_pdu(
#if defined(BACDL_BIP6) && BBMD6_ENABLED
/**
* The send function for Broacast Distribution Table
* The send function for Broadcast Distribution Table
*
* @param addr - Points to a #BACNET_IP6_ADDRESS structure containing the
* source IPv6 address.
@@ -376,7 +376,7 @@ static void bbmd6_send_pdu_bdt(uint8_t *mtu, unsigned int mtu_len)
}
/**
* The send function for Broacast Distribution Table
* The send function for Broadcast Distribution Table
*
* @param addr - Points to a #BACNET_IP6_ADDRESS structure containing the
* source IPv6 address.
@@ -403,7 +403,7 @@ static void bbmd6_send_pdu_fdt(uint8_t *mtu, unsigned int mtu_len)
}
/**
* The Forward NPDU send function for Broacast Distribution Table
* The Forward NPDU send function for Broadcast Distribution Table
*
* @param addr - Points to a #BACNET_IP6_ADDRESS structure containing the
* source IPv6 address.
+1 -1
View File
@@ -96,7 +96,7 @@ typedef bool (*object_cov_function)(uint32_t object_instance);
*/
typedef void (*object_cov_clear_function)(uint32_t object_instance);
/** Intrinsic Reporting funcionality.
/** Intrinsic Reporting functionality.
* @ingroup ObjHelpers
* @param [in] Object instance.
*/
+1 -1
View File
@@ -159,7 +159,7 @@ static bool FindIndex(OS_Keylist list, KEY key, int *pIndex)
* @param list Pointer to the list
* @param key Key to be inserted
* @param data Pointer to the data hold by the key.
* This pointer needs to be poiting to static memory
* This pointer needs to be pointing to static memory
* as it will be stored in the list and later used
* by retrieving the key again.
* @return Index of the key, or -1 if not found.
+1 -1
View File
@@ -58,7 +58,7 @@ int iam_encode_apdu(
* @brief Decode the I-Am service.
*
* @param apdu Receive buffer
* @param pDevice_id Pointer to the variable that shal ltake the device Id.
* @param pDevice_id Pointer to the variable that shall take the device Id.
* @param pMax_apdu Pointer to a variable that shall take the decoded length.
* @param pSegmentation Pointer to a variable taking if segmentation is used.
* @param pVendor_id Pointer to a variable taking the vendor id.