Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c223df51
Commit
c223df51
authored
Jan 07, 2015
by
Damien George
Browse files
drivers/cc3000: Fix call to extint_register.
parent
3b51b3e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/cc3000/src/ccspi.c
View file @
c223df51
...
...
@@ -173,7 +173,7 @@ void SpiOpen(gcSpiHandleRx pfRxHandler)
CS_HIGH
();
// register EXTI
extint_register
((
mp_obj_t
)
PIN_IRQ
,
GPIO_MODE_IT_FALLING
,
GPIO_PULLUP
,
(
mp_obj_t
)
&
irq_callback_obj
,
true
,
NULL
);
extint_register
((
mp_obj_t
)
PIN_IRQ
,
GPIO_MODE_IT_FALLING
,
GPIO_PULLUP
,
(
mp_obj_t
)
&
irq_callback_obj
,
true
);
extint_enable
(
PIN_IRQ
->
pin
);
DEBUG_printf
(
"SpiOpen finished; IRQ.pin=%d IRQ_LINE=%d
\n
"
,
PIN_IRQ
->
pin
,
PIN_IRQ
->
pin
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment