imxrt:ADC extend timeout

This commit is contained in:
David Sidrane
2022-01-21 09:24:03 -08:00
committed by Daniel Agar
parent 7cb8ed3a1f
commit a11fe60135
@@ -180,7 +180,7 @@ uint32_t px4_arch_adc_sample(uint32_t base_address, unsigned channel)
/* don't wait for more than 10us, since that means something broke
* should reset here if we see this
*/
if ((hrt_absolute_time() - now) > 10) {
if ((hrt_absolute_time() - now) > 30) {
px4_leave_critical_section(flags);
return UINT32_MAX;
}