diff options
| author | Perry Hung <iperry@alum.mit.edu> | 2010-08-19 22:50:32 -0400 |
|---|---|---|
| committer | Perry Hung <iperry@alum.mit.edu> | 2010-08-19 22:50:32 -0400 |
| commit | f5a28b3084d9188944ea88869a4ee4a05cedfcaf (patch) | |
| tree | 2ec4e07fab639e9961a0573188cfbe52a73d558b /wirish/ext_interrupts.c | |
| parent | 5f11e12d66ce65e8be2b695ece6f35c2889d2aa2 (diff) | |
Removed typedef enum for external interrupts, should function. Note
that there's no LOW option.
Diffstat (limited to 'wirish/ext_interrupts.c')
| -rw-r--r-- | wirish/ext_interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/ext_interrupts.c b/wirish/ext_interrupts.c index 54b8be9..1fa50fe 100644 --- a/wirish/ext_interrupts.c +++ b/wirish/ext_interrupts.c @@ -65,7 +65,7 @@ static ExtiInfo PIN_TO_EXTI_CHANNEL[NR_MAPLE_PINS] = { * * @sideeffect Registers a handler */ -int attachInterrupt(uint8 pin, voidFuncPtr handler, ExtInterruptTriggerMode mode) { +int attachInterrupt(uint8 pin, voidFuncPtr handler, uint32 mode) { uint8 outMode; /* Parameter checking */ if (pin >= NR_MAPLE_PINS) { |
