Skip to content

Commit

Permalink
Remove znet-bookkeeping.[h|c] files (#3607)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored Nov 4, 2020
1 parent ad8bd67 commit ceecd84
Show file tree
Hide file tree
Showing 29 changed files with 12 additions and 1,175 deletions.
3 changes: 2 additions & 1 deletion examples/common/chip-app-server/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ declare_args() {
static_library("chip-app-server") {
output_name = "chip-app-server"

# DataModelHandler.cpp includes a generated header (gen/znet-bookkeeping.h),
# Issue #1630
# DataModelHandler.cpp includes files that relies on generated headers
# so we can't compile it into this static library. It needs to be compiled
# directly by someone who knows where the generated files for the app we're
# compiling live.
Expand Down
3 changes: 1 addition & 2 deletions examples/common/chip-app-server/DataModelHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "DataModelHandler.h"

#include "gen/znet-bookkeeping.h"
#include <app/chip-zcl-zpro-codec.h>
#include <app/util/af-types.h>
#include <app/util/attribute-storage.h>
Expand Down Expand Up @@ -80,6 +79,6 @@ void HandleDataModelMessage(const PacketHeader & header, System::PacketBuffer *
void InitDataModelHandler()
{
emberAfEndpointConfigure();
emAfInit();
emberAfInit();
}
}
1 change: 0 additions & 1 deletion examples/lighting-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ efr32_executable("lighting_app") {
"src/ZclCallbacks.cpp",
"src/gen/call-command-handler.c",
"src/gen/callback-stub.c",
"src/gen/znet-bookkeeping.c",
"src/main.cpp",
]

Expand Down
122 changes: 0 additions & 122 deletions examples/lighting-app/efr32/src/gen/znet-bookkeeping.c

This file was deleted.

75 changes: 0 additions & 75 deletions examples/lighting-app/efr32/src/gen/znet-bookkeeping.h

This file was deleted.

1 change: 0 additions & 1 deletion examples/lighting-app/lighting-common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ source_set("lighting-common") {
"${chip_root}/src/app/util/util.cpp",
"gen/call-command-handler.c",
"gen/callback-stub.c",
"gen/znet-bookkeeping.c",
]

deps = [
Expand Down
122 changes: 0 additions & 122 deletions examples/lighting-app/lighting-common/gen/znet-bookkeeping.c

This file was deleted.

Loading

0 comments on commit ceecd84

Please sign in to comment.