aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bjørlykke2019-02-20 21:29:26 +0100
committerGlenn Ruben Bakke2019-02-20 22:52:18 +0100
commitc72391c4ce7b07e03ac8969815b5e5c8ea626dda (patch)
treee6e717b221f63b344a71c32ab892d459747251df
parent6ca03fe8bd948352cba04a5fa1e308e000611a9b (diff)
nrf/pwm: Remove superfluous NULL in machine_hard_pwm_instances.
Remove unneeded NULL entry in machine_hard_pwm_instances[] when not building for NRF52_SERIES.
-rw-r--r--ports/nrf/modules/machine/pwm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ports/nrf/modules/machine/pwm.c b/ports/nrf/modules/machine/pwm.c
index e3b40930f..cf8749302 100644
--- a/ports/nrf/modules/machine/pwm.c
+++ b/ports/nrf/modules/machine/pwm.c
@@ -70,8 +70,6 @@ STATIC const nrfx_pwm_t machine_hard_pwm_instances[] = {
#if NRF52840
NRFX_PWM_INSTANCE(3),
#endif
-#else
- NULL
#endif
};