aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2s_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-03-23 13:12:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-03-23 13:12:56 +0000
commit3f1cbf814e81930d859f43ea9e829e1702ce2f2d (patch)
tree0b588c91ab658322b2c7e798a3a227cbfebaeb47 /os/hal/platforms/STM32/i2s_lld.h
parent5aa11291a362cfeb949dfe91397e8bbda46dc436 (diff)
downloadChibiOS-3f1cbf814e81930d859f43ea9e829e1702ce2f2d.tar.gz
ChibiOS-3f1cbf814e81930d859f43ea9e829e1702ce2f2d.tar.bz2
ChibiOS-3f1cbf814e81930d859f43ea9e829e1702ce2f2d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4053 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/i2s_lld.h')
-rw-r--r--os/hal/platforms/STM32/i2s_lld.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/os/hal/platforms/STM32/i2s_lld.h b/os/hal/platforms/STM32/i2s_lld.h
index c56ab8ccb..52f00d2b7 100644
--- a/os/hal/platforms/STM32/i2s_lld.h
+++ b/os/hal/platforms/STM32/i2s_lld.h
@@ -189,10 +189,7 @@
/**
* @brief I2S mode type.
*/
-typedef enum {
- i2s_mode_master = 0, /**< Master mode. */
- i2s_mode_slave = 1 /**< Slave mode. */
-} i2smode_t;
+typedef uint32_t i2smode_t;
/**
* @brief Type of a structure representing an I2S driver.
@@ -214,7 +211,7 @@ typedef void (*i2scallback_t)(I2SDriver *i2sp, void *buffer, size_t n);
*/
typedef struct {
/**
- * @brief Slave mode selec
+ * @brief I2S mode selection.
*/
i2smode_t mode;
/**