From 24fc474ac69372d242b32830c981639492bba63a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 20 Aug 2009 08:26:28 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1083 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCM3/STM32F103/serial_lld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/ports') diff --git a/os/ports/GCC/ARMCM3/STM32F103/serial_lld.c b/os/ports/GCC/ARMCM3/STM32F103/serial_lld.c index bf06195be..f58f7aad0 100644 --- a/os/ports/GCC/ARMCM3/STM32F103/serial_lld.c +++ b/os/ports/GCC/ARMCM3/STM32F103/serial_lld.c @@ -212,17 +212,17 @@ CH_IRQ_HANDLER(VectorDC) { void sd_lld_init(void) { #if USE_STM32_USART1 - sdInit(&COM1, NULL, notify1); + sdObjectInit(&COM1, NULL, notify1); GPIOA->CRH = (GPIOA->CRH & 0xFFFFF00F) | 0x000004B0; #endif #if USE_STM32_USART2 - sdInit(&COM2, NULL, notify2); + sdObjectInit(&COM2, NULL, notify2); GPIOA->CRL = (GPIOA->CRL & 0xFFFF00FF) | 0x00004B00; #endif #if USE_STM32_USART3 - sdInit(&COM3, NULL, notify3); + sdObjectInit(&COM3, NULL, notify3); GPIOB->CRH = (GPIOB->CRH & 0xFFFF00FF) | 0x00004B00; #endif } -- cgit v1.2.3