Skip to content

Commit

Permalink
Remove verbose code comments (project-chip#3187)
Browse files Browse the repository at this point in the history
Some devices are configured to act as Thread router instead of
sleepy-end device. This PR removes these incorrect or verbose comments.
  • Loading branch information
bukepo authored and Rob Walker committed Oct 12, 2020
1 parent e516b00 commit b0722c2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/lighting-app/efr32/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ int main(void)
appError(ret);
}

// Configure device to operate as a Thread sleepy end-device.
ret = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_Router);
if (ret != CHIP_NO_ERROR)
{
Expand Down
1 change: 0 additions & 1 deletion examples/lock-app/efr32/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ int main(void)
appError(ret);
}

// Configure device to operate as a Thread sleepy end-device.
ret = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_Router);
if (ret != CHIP_NO_ERROR)
{
Expand Down
1 change: 0 additions & 1 deletion examples/lock-app/k32w/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ extern "C" void main_task(void const * argument)
goto exit;
}

// Configure device to operate as a Thread sleepy end-device.
ret = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SleepyEndDevice);
if (ret != CHIP_NO_ERROR)
{
Expand Down
1 change: 0 additions & 1 deletion examples/platform/nrf528xx/app/chipinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ ret_code_t ChipInit()
APP_ERROR_HANDLER(ret);
}

// Configure device to operate as a Thread sleepy end-device.
ret = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_Router);
if (ret != CHIP_NO_ERROR)
{
Expand Down

0 comments on commit b0722c2

Please sign in to comment.