Skip to content

Commit

Permalink
Empty out af-gen-event.h for thermostat sample (project-chip#21380)
Browse files Browse the repository at this point in the history
This application does not enable the door lock or barrier control
clusters. Remove the corresponding event code.

This code caused linker errors in some configurations (ASAN):

  g++ -O0 -fPIC -Werror -Wl,--fatal-warnings -fdiagnostics-color -fsanitize=address -fno-omit-frame-pointer -Wl,--gc-sections -pie -Wl,-Map,standalone/thermostat-app.map @standalone/thermostat-app.rsp -o standalone/thermostat-app
  /usr/bin/ld: standalone/obj/src/app/util/thermostat-common.af-event.cpp.o: in function `emberAfBarrierControlClusterServerTickCallbackWrapperFunction1()':
  /ssd/src/connectedhomeip/out/debug/../../src/app/util/af-event.cpp:69: undefined reference to `emberAfBarrierControlClusterServerTickCallback(unsigned short)'
  • Loading branch information
mspang authored and isiu-apple committed Sep 16, 2022
1 parent ade5bd6 commit d2d3b45
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions zzz_generated/thermostat/zap-generated/af-gen-event.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d2d3b45

Please sign in to comment.