mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
put an ifndef around the definition of I2C_TRANSACTION_QUEUE_LEN
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user