HAL_ChibiOS: use DRDY pin for ADIS16470 on mRoNexus

This commit is contained in:
Andrew Tridgell committed 2020-04-23 07:28:13 +10:00
1 parent 5c6749ee54
commit ffe773ff6f
2 files changed
+10 -7

No files matched your search

+3 -2
View File
@@ -363,8 +363,9 @@ bool GPIO::wait_pin(uint8_t pin, INTERRUPT_TRIGGER_TYPE mode, uint32_t timeout_u
g->thd_wait = nullptr;
_attach_interruptI(g->pal_line,
palcallback_t(nullptr),
g,
nullptr,
mode);
osalSysUnlock();
return msg != MSG_TIMEOUT;
return msg == MSG_OK;
}