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

This commit is contained in:
gdisirio 2011-05-12 17:44:13 +00:00
parent b381c928c7
commit 463a7d9bc1
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ int main(void) {
* sleeping in a loop and check the button state.
*/
while (TRUE) {
if (palReadPad(GPIOG, GPIOG_USER_BUTTON))
if (!palReadPad(GPIOG, GPIOG_USER_BUTTON))
TestThread(&SD1);
chThdSleepMilliseconds(500);
}