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:
@@ -169,7 +169,7 @@ void handler_get_event_information(uint8_t *service_request,
|
||||
(apdu_len >= MAX_APDU - 2)) {
|
||||
/* Device must be able to fit minimum
|
||||
one event information.
|
||||
Length of one event informations needs
|
||||
Length of one event information needs
|
||||
more than 50 octets. */
|
||||
if ((service_data->max_resp < 128) ||
|
||||
(MAX_APDU < 128)) {
|
||||
|
||||
@@ -157,7 +157,7 @@ void handler_read_property(uint8_t *service_request,
|
||||
if (apdu_len > service_data->max_resp) {
|
||||
/* too big for the sender - send an abort!
|
||||
Setting of error code needed here as read property
|
||||
processing may have overriden the default set at start */
|
||||
processing may have overridden the default set at start */
|
||||
rpdata.error_code =
|
||||
ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
|
||||
len = BACNET_STATUS_ABORT;
|
||||
|
||||
@@ -116,7 +116,7 @@ static int Encode_RR_payload(uint8_t *apdu, BACNET_READ_RANGE_DATA *pRequest)
|
||||
*
|
||||
* @param service_request Pointer to the service request.
|
||||
* @param service_len Bytes valid in the service request.
|
||||
* @param src Pointer to the BACnet addresss.
|
||||
* @param src Pointer to the BACnet address.
|
||||
* @param service_data Pointer to the service data,
|
||||
* taken from the request.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user