Removed obsolete macro from serial driver header.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2689 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
0ca3f3eb1f
commit
472f462937
|
@ -279,19 +279,6 @@ struct SerialDriver {
|
|||
#define sdAsynchronousRead(sdp, b, n) \
|
||||
chIQReadTimeout(&(sdp)->iqueue, b, n, TIME_IMMEDIATE)
|
||||
|
||||
/**
|
||||
* @brief Returns the status change event source.
|
||||
* @details The status change event source is broadcasted when the channel
|
||||
* status is updated, the status flags can then be fetched and
|
||||
* cleared by using @p sdGetAndClearFlags().
|
||||
*
|
||||
* @param[in] ip pointer to a @p SerialDriver object
|
||||
* @return A pointer to an @p EventSource object.
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
#define sdGetStatusChangeEventSource(ip) (&((ip)->vmt->sevent))
|
||||
|
||||
/*===========================================================================*/
|
||||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue