aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/serial_lld.h
diff options
context:
space:
mode:
authorliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-19 15:48:30 +0000
committerliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-19 15:48:30 +0000
commita222ba2ddebb519fce65ebabfaf63ee32c38c3be (patch)
tree28d504802cdfc65ab3e3d5ca834ed85717cb0e8a /os/hal/platforms/STM32/serial_lld.h
parent6e8ee658598c5e1176bec50f36148112158aae49 (diff)
downloadChibiOS-a222ba2ddebb519fce65ebabfaf63ee32c38c3be.tar.gz
ChibiOS-a222ba2ddebb519fce65ebabfaf63ee32c38c3be.tar.bz2
ChibiOS-a222ba2ddebb519fce65ebabfaf63ee32c38c3be.zip
* STM32 SerialDriver to remove SerialConfig pointer
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1878 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/serial_lld.h')
-rw-r--r--os/hal/platforms/STM32/serial_lld.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.h b/os/hal/platforms/STM32/serial_lld.h
index 861582d54..979009916 100644
--- a/os/hal/platforms/STM32/serial_lld.h
+++ b/os/hal/platforms/STM32/serial_lld.h
@@ -170,8 +170,6 @@ typedef struct {
_base_asynchronous_channel_data \
/* Driver state.*/ \
sdstate_t state; \
- /* Current configuration data.*/ \
- const SerialConfig *config; \
/* Input queue.*/ \
InputQueue iqueue; \
/* Output queue.*/ \
@@ -226,7 +224,7 @@ extern SerialDriver SD5;
extern "C" {
#endif
void sd_lld_init(void);
- void sd_lld_start(SerialDriver *sdp);
+ void sd_lld_start(SerialDriver *sdp, const SerialConfig *config);
void sd_lld_stop(SerialDriver *sdp);
#ifdef __cplusplus
}