samples: mgmt/osdp: Scope PD sample for upcoming CP sample

Make changes to PD sample so a CP sample can be added in future along
with it.

Signed-off-by: Siddharth Chandrasekaran <siddharth@embedjournal.com>
This commit is contained in:
Siddharth Chandrasekaran 2020-08-15 16:38:50 +05:30 committed by Carles Cufí
parent 31d2b991e0
commit 9aa24d85a2
2 changed files with 1 additions and 1 deletions

View file

@ -9,4 +9,4 @@ include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(osdp_sample)
target_sources(app PRIVATE src/main.c)
target_sources_ifdef(CONFIG_OSDP_MODE_PD app PRIVATE src/pd_main.c)