Skip to content

Commit

Permalink
[Ameba] Add Macro to InitBindingHandler (#24186)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankore authored and pull[bot] committed Jan 15, 2024
1 parent 9239143 commit 8cf5b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/all-clusters-app/ameba/main/chipinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ static void InitServer(intptr_t context)
PrintOnboardingCodes(chip::RendezvousInformationFlags(chip::RendezvousInformationFlag::kBLE));
}

#if CONFIG_ENABLE_CHIP_SHELL
InitBindingHandler();
#endif
}

extern "C" void ChipTest(void)
Expand Down
2 changes: 2 additions & 0 deletions examples/light-switch-app/ameba/main/chipinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ static void InitServer(intptr_t context)
PrintOnboardingCodes(chip::RendezvousInformationFlags(chip::RendezvousInformationFlag::kBLE));
}

#if CONFIG_ENABLE_CHIP_SHELL
InitBindingHandler();
#endif
}

extern "C" void ChipTest(void)
Expand Down

0 comments on commit 8cf5b8d

Please sign in to comment.