Skip to content

Commit

Permalink
[Ameba] cleanup platform config (#33629)
Browse files Browse the repository at this point in the history
* Cleanup and allow redefinition of macro
  • Loading branch information
pankore authored and pull[bot] committed Sep 27, 2024
1 parent d6fe4af commit 1402826
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/platform/Ameba/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@
#pragma once

// ==================== Platform Adaptations ====================
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 0
#ifndef CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 1
#endif

#ifndef CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP 0
#endif

#if CHIP_ENABLE_OPENTHREAD
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 1
Expand Down

0 comments on commit 1402826

Please sign in to comment.