Skip to content

Commit 4e3c0a0

Browse files
committed
Remove the std::function interrupt handling, not sure it is safe.
1 parent 573602b commit 4e3c0a0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/TaskPlatformDeps.h

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

374-
#ifdef ESP32
375-
#define RawIntHandler std::function<void(void)>
376-
#elif ARDUINO_ARCH_STM32
377-
#define RawIntHandler callback_function_t
378-
#else
379374
typedef void (*RawIntHandler)();
380-
#endif // RAW INT checks
381375

382376
#endif //TASKMANGERIO_PLATFORMDETERMINATION_H

0 commit comments

Comments
 (0)