1
0
Fork 0

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
Daniel Thompson 2020-08-15 18:14:32 +01:00
parent 91fad65a8a
commit 477d2e07db
1 changed files with 2 additions and 0 deletions

View File

@ -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