mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7043 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
90765cccc9
commit
034fe7b30f
|
@ -26,9 +26,16 @@ static THD_FUNCTION(Thread1, arg) {
|
|||
|
||||
(void)arg;
|
||||
|
||||
/*
|
||||
* Activates the serial driver 1 using the driver default configuration.
|
||||
*/
|
||||
sdStart(&SD1, NULL);
|
||||
|
||||
while (TRUE) {
|
||||
unsigned i;
|
||||
|
||||
chnWriteTimeout(&SD1, (uint8_t *)"Hello World!\r\n", 14, TIME_INFINITE);
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
palClearPad(PORT_E, PE_LED1);
|
||||
chThdSleepMilliseconds(100);
|
||||
|
|
Loading…
Reference in New Issue