From c72391c4ce7b07e03ac8969815b5e5c8ea626dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Wed, 20 Feb 2019 21:29:26 +0100 Subject: [PATCH] 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. --- ports/nrf/modules/machine/pwm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ports/nrf/modules/machine/pwm.c b/ports/nrf/modules/machine/pwm.c index e3b40930fd..cf8749302b 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 };