Hello, I am trying to use adc with the uart so i can monitor the readings from adc. But when I include both drivers (nrf_drv_saadc , nrf_drv_uart) i got a confliction error. As far as I understand there are two definitions for the variable "m_cb" ;
In uart driver it is defined as "static nrf_drv_saadc_cb_t m_cb;" In saadc driver its is defined as "static uart_control_block_t m_cb[UART_ENABLED_COUNT];"
Should I change include order of the drivers ?
I am using Eclipse IDE,4.9.3 GCC, NRF5 SDK v14.2.0.