aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/serial_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-22 14:51:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-22 14:51:54 +0000
commit11215c3bcb0b0cbe5794cfc92d0c20de6c8696d9 (patch)
treeb8e85145673bfaee0bd0e3444e1d640b3a5be155 /os/hal/templates/serial_lld.c
parent11a6a2bf6476beda7a3a6d8504aa74c03c3b9731 (diff)
downloadChibiOS-11215c3bcb0b0cbe5794cfc92d0c20de6c8696d9.tar.gz
ChibiOS-11215c3bcb0b0cbe5794cfc92d0c20de6c8696d9.tar.bz2
ChibiOS-11215c3bcb0b0cbe5794cfc92d0c20de6c8696d9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1539 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/serial_lld.c')
-rw-r--r--os/hal/templates/serial_lld.c4
1 files changed, 2 insertions, 2 deletions
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;
}