diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 17:09:20 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 17:09:20 +0000 |
commit | d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6 (patch) | |
tree | a31ebbd42904206131ff4eb661b4341558ca8925 /demos/ARMCM4-STM32F407-DISCOVERY | |
parent | ba6519a2eaf35bc6d39188e10b6ea12ef553009d (diff) | |
download | ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.tar.gz ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.tar.bz2 ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY')
-rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/main.c b/demos/ARMCM4-STM32F407-DISCOVERY/main.c index 101c1a4df..7dc61425a 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY/main.c +++ b/demos/ARMCM4-STM32F407-DISCOVERY/main.c @@ -274,7 +274,7 @@ int main(void) { x = (int8_t)lis302dlReadRegister(&SPID1, LIS302DL_OUTX);
y = (int8_t)lis302dlReadRegister(&SPID1, LIS302DL_OUTY);
z = (int8_t)lis302dlReadRegister(&SPID1, LIS302DL_OUTZ);
- chprintf((BaseChannel *)&SD2, "%d, %d, %d\r\n", x, y, z);
+ chprintf((BaseSequentialStream *)&SD2, "%d, %d, %d\r\n", x, y, z);
chThdSleepMilliseconds(500);
}
}
|