git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2948 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b381c928c7
commit
463a7d9bc1
|
@ -75,7 +75,7 @@ int main(void) {
|
||||||
* sleeping in a loop and check the button state.
|
* sleeping in a loop and check the button state.
|
||||||
*/
|
*/
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
if (palReadPad(GPIOG, GPIOG_USER_BUTTON))
|
if (!palReadPad(GPIOG, GPIOG_USER_BUTTON))
|
||||||
TestThread(&SD1);
|
TestThread(&SD1);
|
||||||
chThdSleepMilliseconds(500);
|
chThdSleepMilliseconds(500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue