Skip to content

Commit 8b32f45

Browse files
committed
Revert "#42 support raw interrupt handling using std::function on ESP32 and STM32 boards"
This reverts commit 573602b
1 parent 4e3c0a0 commit 8b32f45

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/TaskManagerIO.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ uint32_t micros();
4040
#define delayMicroseconds(x) wait_us(x)
4141
#endif // IOA_USE_MBED
4242

43+
/**
44+
* the definition of an interrupt handler function, to be called back when an interrupt occurs.
45+
*/
46+
typedef void (*RawIntHandler)();
47+
4348
/**
4449
* Definition of a function to be called back when an interrupt is detected, marshalled by task manager into a task.
4550
* The pin that caused the interrupt is passed in the parameter on a best efforts basis.

src/TaskPlatformDeps.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,4 @@ namespace tm_internal {
371371
#endif // _has_include
372372
#endif // GCC>=5 and !TM_ALLOW_CAPTURED_LAMBDA
373373

374-
typedef void (*RawIntHandler)();
375-
376374
#endif //TASKMANGERIO_PLATFORMDETERMINATION_H

0 commit comments

Comments
 (0)