mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Switches notifier to use a typedef for the callback, and prepends HAL_ to InterruptHandlerFunction (#216)
This commit is contained in:
committed by
Peter Johnson
parent
028efff50d
commit
59ec54887d
@@ -22,7 +22,7 @@ InterruptableSensorBase::InterruptableSensorBase() {}
|
||||
* thread. The default is interrupt on rising edges only.
|
||||
*/
|
||||
void InterruptableSensorBase::RequestInterrupts(
|
||||
InterruptHandlerFunction handler, void* param) {
|
||||
HAL_InterruptHandlerFunction handler, void* param) {
|
||||
if (StatusIsFatal()) return;
|
||||
|
||||
wpi_assert(m_interrupt == HAL_kInvalidHandle);
|
||||
|
||||
Reference in New Issue
Block a user