Issue 10 ci add support for code spelling checks (#231)

* added make targets spell and codespell for spelling checks

* fix spelling errors detected by codespell

* added codespell to github workflow

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2022-02-27 16:02:17 -06:00
committed by GitHub
parent b31cb43e22
commit 5e70eeecfc
32 changed files with 79 additions and 58 deletions
+2 -2
View File
@@ -47,7 +47,7 @@
* @param apdu [in] The contents of the APDU buffer.
* @param apdu_len [in] The length of the APDU buffer.
* @param wp_data [out] The BACNET_WRITE_PROPERTY_DATA structure
* which will contain the reponse values or error.
* which will contain the response values or error.
*
* @return Count of decoded bytes.
*/
@@ -152,7 +152,7 @@ int wpm_decode_object_property(
len++;
if (imax != BACNET_STATUS_ERROR) {
/* copy application data, check max lengh */
/* copy application data, check max length */
if (imax > (apdu_len - len)) {
imax = (apdu_len - len);
}