commit | aeeb2053c69efdc33eb4285596dc072bf813cd20 | [log] [tgz] |
---|---|---|
author | Pavel Vasilyev <pavel.vasilyev@nordicsemi.no> | Tue Sep 10 13:59:55 2024 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Sep 12 16:26:04 2024 +0200 |
tree | fd193d1d61e0f3fbeee92242ea1fd17cf9f9516a | |
parent | 1b44e607a8a33c5df620dc6a414db06346cf5be1 [diff] |
bluetooth: mesh: brg_cfg: use IS_ENABLED macro optimally If use `IS_ENABLED` macro inside if statements but not as preprocessor directives, we can always compile the code for settings even if settings are not used. This allows to reduce amount of firmwares we need to build in CI to ensure that code compiles. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>