Skip to content

Commit 5bb3ede

Browse files
committed
Comment out the assert test that requires non-existent symbols from linker
1 parent 244b7a5 commit 5bb3ede

File tree

1 file changed

+2
-1
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc

1 file changed

+2
-1
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ void nrf_drv_adc_uninit(void)
9393
void nrf_drv_adc_channel_enable(nrf_drv_adc_channel_t * const p_channel)
9494
{
9595
ASSERT(m_cb.state == NRF_DRV_STATE_INITIALIZED);
96-
ASSERT(!is_address_from_stack(p_channel));
96+
// This assert has been removed as it requires non-existent symbols from linker
97+
//ASSERT(!is_address_from_stack(p_channel));
9798

9899
p_channel->p_next = NULL;
99100
if (m_cb.p_head == NULL)

0 commit comments

Comments
 (0)