Skip to content

Commit ab1d55d

Browse files
committed
fix(spelling): Fix spelling mistakes
1 parent adf0016 commit ab1d55d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libraries/Network/src/NetworkEvents.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ using network_event_handle_t = size_t;
131131
/**
132132
* @brief Class that provides network events callback handling
133133
* it registers user callback functions for event handling,
134-
* maintans the queue of events and propagates the event amoung subscribed callbacks
134+
* maintains the queue of events and propagates the event among subscribed callbacks
135135
* callback are called in the context of a dedicated task consuming the queue
136136
*
137137
*/
@@ -245,11 +245,11 @@ class NetworkEvents {
245245

246246
protected:
247247
bool initNetworkEvents();
248-
// same as onEvent() but places newly added handler at the begining of registered events list
248+
// same as onEvent() but places newly added handler at the beginning of registered events list
249249
network_event_handle_t onSysEvent(NetworkEventCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
250-
// same as onEvent() but places newly added handler at the begining of registered events list
250+
// same as onEvent() but places newly added handler at the beginning of registered events list
251251
network_event_handle_t onSysEvent(NetworkEventFuncCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
252-
// same as onEvent() but places newly added handler at the begining of registered events list
252+
// same as onEvent() but places newly added handler at the beginning of registered events list
253253
network_event_handle_t onSysEvent(NetworkEventSysCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
254254

255255
private:
@@ -281,11 +281,11 @@ class NetworkEvents {
281281
QueueHandle_t _arduino_event_queue;
282282
TaskHandle_t _arduino_event_task_handle;
283283

284-
// registred events callbacks containter
284+
// registered events callbacks container
285285
std::vector<NetworkEventCbList_t> _cbEventList;
286286

287287
#if defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
288-
// containter access mutex
288+
// container access mutex
289289
std::mutex _mtx;
290290
#endif // defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
291291

0 commit comments

Comments
 (0)