This is an automated email from the ASF dual-hosted git repository. kasjer pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit a9dd2d3f6e0647372557b7b94b7fc7cac2cb2454 Author: Jerzy Kasenberg <[email protected]> AuthorDate: Tue Sep 8 07:55:13 2026 +0200 hw/adc_nrf52: Fix build after NRFX update This simple change type from uint16_t to nrf_saadc_value_t (that is int16_t). It removes build warning and does not change anything else. Signed-off-by: Jerzy Kasenberg <[email protected]> --- hw/drivers/adc/adc_nrf52/src/adc_nrf52.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c b/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c index eeb8f7743..3dc1e3c93 100644 --- a/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c +++ b/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c @@ -513,7 +513,7 @@ nrf52_adc_read_channel(struct adc_dev *dev, uint8_t cnum, int *result) { int rc; int unlock = 0; - uint16_t adc_value; + nrf_saadc_value_t adc_value; if (nrf_saadc_busy_check(NRF_SAADC)) { return OS_EBUSY;
