git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3916 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-02-05 08:48:43 +00:00
parent 3268a6c4ab
commit a0f9f4ad2b
1 changed files with 0 additions and 2 deletions

View File

@ -100,10 +100,8 @@ int main(void) {
* button EXT channel using 5 seconds intervals. * button EXT channel using 5 seconds intervals.
*/ */
while (TRUE) { while (TRUE) {
EXTI->SWIER = 64;
chThdSleepMilliseconds(5000); chThdSleepMilliseconds(5000);
extChannelDisable(&EXTD1, 0); extChannelDisable(&EXTD1, 0);
EXTI->SWIER = 64;
chThdSleepMilliseconds(5000); chThdSleepMilliseconds(5000);
extChannelEnable(&EXTD1, 0); extChannelEnable(&EXTD1, 0);
} }