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:
parent
31d2b991e0
commit
9aa24d85a2
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue