Skip to content

Commit

Permalink
fix restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-hh committed Jan 22, 2023
1 parent 7f71c1f commit 5d51f8d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/lighting-app/bouffalolab/common/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* limitations under the License.
*/

#include <plat.h>
#include <LEDWidget.h>
#include <plat.h>

#include <app-common/zap-generated/attribute-id.h>
#include <app-common/zap-generated/attribute-type.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/platform/bouffalolab/common/plat/MemMonitoring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
* limitations under the License.
*/

#include <plat.h>
#include <FreeRTOS.h>
#include <platform/CHIPDeviceLayer.h>
#include <MemMonitoring.h>
#include <plat.h>
#include <platform/CHIPDeviceLayer.h>

static StackType_t monitoringStack[MONITORING_STACK_SIZE_byte / sizeof(StackType_t)];
static StaticTask_t monitoringTaskStruct;
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/bouffalolab/common/plat/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@

#include <FreeRTOS.h>

#include <plat.h>
#include <AppTask.h>
#include <easyflash.h>
#include <lib/support/CHIPMem.h>
#include <lib/support/CHIPPlatformMemory.h>
#include <plat.h>

extern "C" {

Expand Down
4 changes: 2 additions & 2 deletions examples/platform/bouffalolab/common/plat/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
#include <PlatformManagerImpl.h>

#if HEAP_MONITORING
#include <lib/support/CHIPMem.h>
#include <MemMonitoring.h>
#include <lib/support/CHIPMem.h>
#endif

#if CHIP_ENABLE_OPENTHREAD
Expand Down Expand Up @@ -169,4 +169,4 @@ void PlatformManagerImpl::PlatformInit(void)
#endif

vTaskResume(GetAppTask().sAppTaskHandle);
}
}
5 changes: 4 additions & 1 deletion third_party/bouffalolab/bl602/bl_iot_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,10 @@ template("bl_iot_sdk") {
}

source_set("${sdk_target_name}_wifi") {
defines = [ "BL602_MATTER_SUPPORT", "LWIP_IPV6" ]
defines = [
"BL602_MATTER_SUPPORT",
"LWIP_IPV6",
]

include_dirs = [
"${bl_iot_sdk_root}/components/os/bl_os_adapter/bl_os_adapter",
Expand Down

0 comments on commit 5d51f8d

Please sign in to comment.