boards: Fix builds for nRF52840 devices
The PNVRAM feature is currently only available on NRF52832 board and is
breaking the builds for the nRF52840 devices. Fix this the obvious way.
Fixes: d8d7d76
("boards: Add pseudo-NVRAM support")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
wasp-os
parent
91fad65a8a
commit
477d2e07db
|
@ -158,7 +158,9 @@ static uint32_t _long_press_count = 0;
|
|||
void SysTick_Handler(void)
|
||||
{
|
||||
_systick_count++;
|
||||
#ifdef NRF52832_XXAA
|
||||
pnvram_add_ms(pnvram, 1);
|
||||
#endif
|
||||
#if LEDS_NUMBER > 0
|
||||
led_tick();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue