Skip to content
Permalink
Browse files

Fix more codespell typos

  • Loading branch information
peternewman committed Feb 11, 2020
1 parent 36dba95 commit c9cccc468e9eab2b06089be0fe839f0b759916f0
@@ -8,6 +8,7 @@
* Renamed protocol convertor(sic) to protocol converter in the RDM code (C++
* Renamed valiator(sic) to validator, incomming(sic) to incoming, mimimun(sic)
to minimum and overiding(sic) to overriding, all of which may or may not
* Renamed RESONSE_INVALID_DESTINATION(sic) to RESPONSE_INVALID_DESTINATION in
/^(?:([0-9]{1,3})(?:\s(THRU)\s(?:([0-9]{1,3}))?)?(?:\s(@)\s(?:([0-9]{1,3}|FULL))?)?)/;
* channel_range ::= "ALL" | "*" | channel "THRU" channel | channel > channel
/(?:([0-9]{1,3})(?:\s+THRU\s+([0-9]{0,3}))?)\s+@\s+([0-9]{0,3})$/);
2 NEWS
@@ -30,6 +30,8 @@ x/y/2019 ola-0.10.8
* Fix an RDM discovery bug for how we handle phantom UIDs
* Ensure _close_callback is assigned before we might need to run it in the
Python API
* Renamed RESONSE_INVALID_DESTINATION(sic) to RESPONSE_INVALID_DESTINATION in
the ArduinoWidget code

Internal:
*
@@ -43,7 +43,7 @@ namespace rdm {
* @brief Represents the state of a response and/or any error codes.
*
* RDM Handlers should first check for error being non-empty as this
* represents an underlying transport error. Then the resonse_code
* represents an underlying transport error. Then the response_code
* should be checked to catch invalid responses, timeouts etc. Finally, the
* value of response_type should be checked against the rdm_response_type
* codes.
@@ -391,7 +391,7 @@ void ArtNetNodeTest::testBasicBehaviour() {
// enable an input port and check that we send a poll
ExpectedBroadcast(POLL_MESSAGE, sizeof(POLL_MESSAGE));

// we should see an unsolicted poll reply sent because conditions have
// we should see an unsolicited poll reply sent because conditions have
// changed.
uint8_t expected_poll_reply_packet[sizeof(POLL_REPLY_MESSAGE)];
memcpy(expected_poll_reply_packet, POLL_REPLY_MESSAGE,
@@ -51,7 +51,7 @@ const uint8_t ArduinoWidgetImpl::RESPONSE_OK = 0;
const uint8_t ArduinoWidgetImpl::RESPONSE_WAS_BROADCAST = 1;
const uint8_t ArduinoWidgetImpl::RESPONSE_FAILED = 2;
const uint8_t ArduinoWidgetImpl::RESPONSE_FAILED_CHECKSUM = 3;
const uint8_t ArduinoWidgetImpl::RESONSE_INVALID_DESTINATION = 4;
const uint8_t ArduinoWidgetImpl::RESPONSE_INVALID_DESTINATION = 4;
const uint8_t ArduinoWidgetImpl::RESPONSE_INVALID_COMMAND = 5;


@@ -179,7 +179,7 @@ void ArduinoWidgetImpl::HandleRDMResponse(const uint8_t *data,
case RESPONSE_FAILED_CHECKSUM:
OLA_WARN << "USB Device reports checksum mismatch";
break;
case RESONSE_INVALID_DESTINATION:
case RESPONSE_INVALID_DESTINATION:
OLA_WARN << "USB Device reports invalid destination";
break;
case RESPONSE_INVALID_COMMAND:
@@ -78,7 +78,7 @@ class ArduinoWidgetImpl: public BaseUsbProWidget,
static const uint8_t RESPONSE_WAS_BROADCAST;
static const uint8_t RESPONSE_FAILED;
static const uint8_t RESPONSE_FAILED_CHECKSUM;
static const uint8_t RESONSE_INVALID_DESTINATION;
static const uint8_t RESPONSE_INVALID_DESTINATION;
static const uint8_t RESPONSE_INVALID_COMMAND;
};

@@ -47,7 +47,7 @@ bool EndpointManager::RegisterEndpoint(uint16_t endpoint_id,

/**
* Unregister a E133Endpoint
* @param endpoint_id the index of the endpont to un-register
* @param endpoint_id the index of the endpoint to un-register
*/
void EndpointManager::UnRegisterEndpoint(uint16_t endpoint_id) {
if (ola::STLRemove(&m_endpoint_map, endpoint_id)) {
@@ -139,7 +139,7 @@ void SimpleE133Node::DumpTCPStats() {


/**
* Send an unsolicted message on the TCP connection
* Send an unsolicited message on the TCP connection
*/
void SimpleE133Node::SendUnsolicited() {
OLA_INFO << "Sending unsolicited TCP stats message";

0 comments on commit c9cccc4

Please sign in to comment.
You can’t perform that action at this time.