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:
parent
2e872bfeec
commit
39f37f31dc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue