forked from Imagelibrary/rtems
tm27: Avoid function pointer casts
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
# error "..."
|
||||
#endif
|
||||
|
||||
#define TM27_USE_VECTOR_HANDLER
|
||||
|
||||
#define Install_tm27_vector( handler ) \
|
||||
{ \
|
||||
rtems_isr_entry old_handler; \
|
||||
|
||||
Reference in New Issue
Block a user