Skip to content

Commit

Permalink
[Ameba] cleanup platform config (project-chip#33629)
Browse files Browse the repository at this point in the history
* Cleanup and allow redefinition of macro
  • Loading branch information
pankore authored Jun 7, 2024
1 parent 4239c88 commit d65f85c
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 d65f85c

Please sign in to comment.