Skip to content

Commit

Permalink
[spell] restyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
turon committed Dec 15, 2021
1 parent 6ce33b9 commit dd31a9e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/ble/BleLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class DLL_EXPORT BleLayer
CHIP_ERROR CancelBleIncompleteConnection();
CHIP_ERROR NewBleConnectionByDiscriminator(uint16_t connDiscriminator, void * appState = nullptr,
BleConnectionDelegate::OnConnectionCompleteFunct onSuccess = OnConnectionComplete,
BleConnectionDelegate::OnConnectionErrorFunct onError = OnConnectionError);
BleConnectionDelegate::OnConnectionErrorFunct onError = OnConnectionError);
CHIP_ERROR NewBleConnectionByObject(BLE_CONNECTION_OBJECT connObj);
CHIP_ERROR NewBleEndPoint(BLEEndPoint ** retEndPoint, BLE_CONNECTION_OBJECT connObj, BleRole role, bool autoClose);

Expand Down
4 changes: 2 additions & 2 deletions src/controller/InvokeInteraction.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ InvokeCommandRequest(Messaging::ExchangeManager * aExchangeMgr, SessionHandle se
ReturnErrorOnFailure(commandSender->SendCommandRequest(sessionHandle));

//
// We've effectively transferred ownership of the above allocated objects to CommandSender, and we need to wait for it to call us
// back when processing is completed (through OnDone) to eventually free up resources.
// We've effectively transferred ownership of the above allocated objects to CommandSender, and we need to wait for it to call
// us back when processing is completed (through OnDone) to eventually free up resources.
//
// So signal that by releasing the smart pointer.
//
Expand Down
2 changes: 1 addition & 1 deletion src/inet/TCPEndPointImplSockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ CHIP_ERROR TCPEndPointImplSockets::BindImpl(IPAddressType addrType, const IPAddr
// non-deterministic connection dispatch when multple clients
// listen on the address with the same degreee of selectivity,
// e.g. two untargetted-listen CHIP clients, or two
//targeted-listen CHIP clients with the same node id.
// targeted-listen CHIP clients with the same node id.

if (setsockopt(mSocket, SOL_SOCKET, SO_REUSEPORT, &n, sizeof(n)) != 0)
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/support/PersistentStorageMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ constexpr const char kNextAvailableKeyID[] = "StartKeyID";
{ \
constexpr size_t len = std::extent<decltype(keyPrefix)>::value; \
nlSTATIC_ASSERT_PRINT(len > 0, "keyPrefix length must be known at compile time"); \
/* 2 * sizeof(chip::NodeId) to accommodate 2 character for each byte in Node Id */ \
/* 2 * sizeof(chip::NodeId) to accommodate 2 character for each byte in Node Id */ \
char key[len + 2 * sizeof(chip::NodeId) + 1]; \
nlSTATIC_ASSERT_PRINT(sizeof(node) <= sizeof(uint64_t), "Node ID size is greater than expected"); \
snprintf(key, sizeof(key), "%s%" PRIx64, keyPrefix, node); \
Expand Down
16 changes: 8 additions & 8 deletions zzz_generated/chip-tool/zap-generated/reporting/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd31a9e

Please sign in to comment.