Skip to content

Commit

Permalink
Make sure CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR is always defined.
Browse files Browse the repository at this point in the history
Possibly as 0.
  • Loading branch information
bzbarsky-apple committed Sep 13, 2023
1 parent b02c984 commit 2d9e965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ if (chip_device_platform != "none" && chip_device_platform != "external") {
]
}

if (chip_enable_ota_requestor) {
defines += [ "CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR=1" ]
}
defines += [
"CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR=${chip_enable_ota_requestor}",
]

if (chip_device_project_config_include != "") {
defines += [ "CHIP_DEVICE_PROJECT_CONFIG_INCLUDE=${chip_device_project_config_include}" ]
Expand Down

0 comments on commit 2d9e965

Please sign in to comment.