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:
@@ -1,7 +1,7 @@
|
||||
/* Derived from "Unix Incompatibility Notes: Byte Order" by Jan Wolter */
|
||||
/* http://unixpapa.com/incnote/byteorder.html */
|
||||
|
||||
/** @file bigend.c Determination of Endianess */
|
||||
/** @file bigend.c Determination of Endianness */
|
||||
|
||||
#include "bacnet/basic/sys/bigend.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/* Big-Endian systems save the most significant byte first. */
|
||||
/* Sun and Motorola processors, IBM-370s and PDP-10s are big-endian. */
|
||||
/* "Network Byte Order" is also know as "Big-Endian Byte Order" */
|
||||
/* for example, a 4 byte integer 67305985 is 0x04030201 in hexidecimal. */
|
||||
/* for example, a 4 byte integer 67305985 is 0x04030201 in hexadecimal. */
|
||||
/* x[0] = 0x04 */
|
||||
/* x[1] = 0x03 */
|
||||
/* x[2] = 0x02 */
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/* Little-Endian systems save the least significant byte first. */
|
||||
/* The entire Intel x86 family, Vaxes, Alphas and PDP-11s are little-endian. */
|
||||
/* for example, a 4 byte integer 67305985 is 0x04030201 in hexidecimal. */
|
||||
/* for example, a 4 byte integer 67305985 is 0x04030201 in hexadecimal. */
|
||||
/* x[0] = 0x01 */
|
||||
/* x[1] = 0x02 */
|
||||
/* x[2] = 0x03 */
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
* FIFO_Init(&queue, data_store, sizeof(data_store));
|
||||
* }
|
||||
*
|
||||
* Then begin to use the FIFO queue by giving it data, retreiving data,
|
||||
* Then begin to use the FIFO queue by giving it data, retrieving data,
|
||||
* and checking the FIFO queue to see if it is empty or full:
|
||||
* {@code
|
||||
* uint8_t in_data = 0;
|
||||
|
||||
@@ -39,7 +39,7 @@ struct Keylist_Node {
|
||||
|
||||
typedef struct Keylist {
|
||||
struct Keylist_Node **array; /* array of nodes */
|
||||
int count; /* number of nodes in this list - more effecient than loop */
|
||||
int count; /* number of nodes in this list - more efficient than loop */
|
||||
int size; /* number of available nodes on this list - can grow or shrink */
|
||||
} KEYLIST_TYPE;
|
||||
typedef KEYLIST_TYPE *OS_Keylist;
|
||||
|
||||
@@ -297,7 +297,7 @@ bool Ringbuf_Pop_Element(
|
||||
*
|
||||
* @param b - pointer to RING_BUFFER structure
|
||||
* @param data_element - one element that is copied to the ring buffer
|
||||
* @return true on succesful add, false if not added
|
||||
* @return true on successful add, false if not added
|
||||
*/
|
||||
bool Ringbuf_Put(RING_BUFFER *b, uint8_t *data_element)
|
||||
{
|
||||
@@ -331,7 +331,7 @@ bool Ringbuf_Put(RING_BUFFER *b, uint8_t *data_element)
|
||||
*
|
||||
* @param b - pointer to RING_BUFFER structure
|
||||
* @param data_element - one element to copy to the front of the ring
|
||||
* @return true on succesful add, false if not added
|
||||
* @return true on successful add, false if not added
|
||||
*/
|
||||
bool Ringbuf_Put_Front(RING_BUFFER *b, uint8_t *data_element)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user