diff options
author | liamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-19 15:29:44 +0000 |
---|---|---|
committer | liamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-19 15:29:44 +0000 |
commit | c2ba7ebf4611f2beec0ebdf537934f6f28513579 (patch) | |
tree | 88040ba4b38819e5877f1c9ded4321303ddc653c /os/hal/src/serial.c | |
parent | 09126fe34f64af501fd163d4d385a71479d71096 (diff) | |
download | ChibiOS-c2ba7ebf4611f2beec0ebdf537934f6f28513579.tar.gz ChibiOS-c2ba7ebf4611f2beec0ebdf537934f6f28513579.tar.bz2 ChibiOS-c2ba7ebf4611f2beec0ebdf537934f6f28513579.zip |
* remove the SerialConfig pointer from the SerialDriver structure. This is now simply passed through from sdStart() to sd_lld_start()
* implementation for AT91SAM7 port provided - others will need to be updated
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1875 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/serial.c')
-rw-r--r-- | os/hal/src/serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/src/serial.c b/os/hal/src/serial.c index 52a1772c8..94418e46c 100644 --- a/os/hal/src/serial.c +++ b/os/hal/src/serial.c @@ -146,8 +146,7 @@ void sdStart(SerialDriver *sdp, const SerialConfig *config) { chDbgAssert((sdp->state == SD_STOP) || (sdp->state == SD_READY),
"sdStart(), #1",
"invalid state");
- sdp->config = config;
- sd_lld_start(sdp);
+ sd_lld_start(sdp, config);
sdp->state = SD_READY;
chSysUnlock();
}
|