From 3f1cbf814e81930d859f43ea9e829e1702ce2f2d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 23 Mar 2012 13:12:56 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4053 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/i2s_lld.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'os/hal/platforms/STM32/i2s_lld.h') 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; /** -- cgit v1.2.3