put an ifndef around the definition of I2C_TRANSACTION_QUEUE_LEN

This commit is contained in:
Felix Ruess
2011-01-08 14:32:56 +01:00
parent 5fdfc59096
commit 7e7fb7bc5d
+2
View File
@@ -48,7 +48,9 @@ struct i2c_transaction {
volatile enum I2CTransactionStatus status;
};
#ifndef I2C_TRANSACTION_QUEUE_LEN
#define I2C_TRANSACTION_QUEUE_LEN 8
#endif
struct i2c_periph {
/* circular buffer holding transactions */