git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@3926 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2012-02-05 09:12:52 +00:00
parent 2e872bfeec
commit 39f37f31dc
1 changed files with 0 additions and 2 deletions

View File

@ -105,10 +105,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);
}