diff --git a/examples/chef/telink/main.cpp b/examples/chef/telink/main.cpp index 98495170650e5f..088dd22a481063 100644 --- a/examples/chef/telink/main.cpp +++ b/examples/chef/telink/main.cpp @@ -83,7 +83,7 @@ int main() #elif defined(CONFIG_CHIP_THREAD_DEVICE_ROLE_SLEEPY_END_DEVICE) err = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SleepyEndDevice); #else - #error THREAD_DEVICE_ROLE not selected +#error THREAD_DEVICE_ROLE not selected #endif if (err != CHIP_NO_ERROR) { diff --git a/examples/platform/telink/common/src/AppTaskCommon.cpp b/examples/platform/telink/common/src/AppTaskCommon.cpp index ac0c4d70459a8d..decd0251ea1ee7 100644 --- a/examples/platform/telink/common/src/AppTaskCommon.cpp +++ b/examples/platform/telink/common/src/AppTaskCommon.cpp @@ -49,7 +49,7 @@ constexpr int kAppEventQueueSize = 10; #if CONFIG_CHIP_BUTTON_MANAGER_IRQ_MODE const struct gpio_dt_spec sFactoryResetButtonDt = GPIO_DT_SPEC_GET(DT_NODELABEL(key_1), gpios); #if APP_USE_BLE_START_BUTTON -const struct gpio_dt_spec sBleStartButtonDt = GPIO_DT_SPEC_GET(DT_NODELABEL(key_2), gpios); +const struct gpio_dt_spec sBleStartButtonDt = GPIO_DT_SPEC_GET(DT_NODELABEL(key_2), gpios); #endif #if APP_USE_THREAD_START_BUTTON const struct gpio_dt_spec sThreadStartButtonDt = GPIO_DT_SPEC_GET(DT_NODELABEL(key_3), gpios); diff --git a/examples/platform/telink/common/src/mainCommon.cpp b/examples/platform/telink/common/src/mainCommon.cpp index 30d3ceac8d7358..612ac0e68cb89b 100644 --- a/examples/platform/telink/common/src/mainCommon.cpp +++ b/examples/platform/telink/common/src/mainCommon.cpp @@ -149,7 +149,7 @@ int main(void) #elif defined(CONFIG_CHIP_THREAD_DEVICE_ROLE_SLEEPY_END_DEVICE) err = ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SleepyEndDevice); #else - #error THREAD_DEVICE_ROLE not selected +#error THREAD_DEVICE_ROLE not selected #endif if (err != CHIP_NO_ERROR) { diff --git a/src/platform/telink/BLEManagerImpl.cpp b/src/platform/telink/BLEManagerImpl.cpp index 765a1fc3307cf6..392d6049515238 100644 --- a/src/platform/telink/BLEManagerImpl.cpp +++ b/src/platform/telink/BLEManagerImpl.cpp @@ -39,14 +39,14 @@ #include #include +#include #include +#include #include #include -#include -#include extern "C" { - #include +#include } #if defined(CONFIG_PM) && !defined(CONFIG_CHIP_ENABLE_PM_DURING_BLE)