coding guidelines: comply with MISRA Rule 20.9
- avoid to use undefined macros in #if expressions Signed-off-by: Hess Nathan <nhess@baumer.com>
This commit is contained in:
parent
3da656388d
commit
1486259139
|
@ -548,7 +548,7 @@ static void tx_start(const struct device *dev, const uint8_t *buf, size_t len)
|
|||
const struct uarte_nrfx_config *config = dev->config;
|
||||
NRF_UARTE_Type *uarte = get_uarte_instance(dev);
|
||||
|
||||
#if CONFIG_PM_DEVICE
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
enum pm_device_state state;
|
||||
|
||||
(void)pm_device_state_get(dev, &state);
|
||||
|
|
Loading…
Reference in New Issue