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

This commit is contained in:
gdisirio 2012-02-05 09:12:17 +00:00
parent 932029287d
commit 28c1f163a9
1 changed files with 0 additions and 2 deletions

View File

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