From 11215c3bcb0b0cbe5794cfc92d0c20de6c8696d9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 22 Jan 2010 14:51:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1539 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/templates/serial_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/templates/serial_lld.c') diff --git a/os/hal/templates/serial_lld.c b/os/hal/templates/serial_lld.c index cd155f210..1c95f7422 100644 --- a/os/hal/templates/serial_lld.c +++ b/os/hal/templates/serial_lld.c @@ -67,8 +67,8 @@ void sd_lld_init(void) { */ void sd_lld_start(SerialDriver *sdp) { - if (sdp->sd.config == NULL) - sdp->sd.config = &default_config; + if (sdp->config == NULL) + sdp->config = &default_config; } -- cgit v1.2.3