You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/28 09:53:09 UTC
[GitHub] andrzej-kaczmarek commented on a change in pull request #1107:
SystemView updates
andrzej-kaczmarek commented on a change in pull request #1107: SystemView updates
URL: https://github.com/apache/mynewt-core/pull/1107#discussion_r191164483
##########
File path: hw/drivers/adc/adc_nrf52/src/adc_nrf52.c
##########
@@ -388,7 +397,11 @@ nrf52_adc_dev_init(struct os_dev *odev, void *arg)
af->af_read_buffer = nrf52_adc_read_buffer;
af->af_size_buffer = nrf52_adc_size_buffer;
+#if MYNEWT_VAL(OS_SYSVIEW)
+ NVIC_SetVector(SAADC_IRQn, (uint32_t) saadc_irq_handler);
+#else
NVIC_SetVector(SAADC_IRQn, (uint32_t) nrfx_saadc_irq_handler);
+#endif
Review comment:
I will address this in separate PR
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services