From 504d6c42b96c28903bf7c379f0ab2d29d420fae9 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 12 Jul 2015 12:17:42 -0600 Subject: [PATCH] SAML21" Fix small typo. It should be 2-Wire I2C instead of 1-Wire. From Alan Carvalho de Assis. --- arch/arm/src/samdl/chip/saml_i2c_master.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/samdl/chip/saml_i2c_master.h b/arch/arm/src/samdl/chip/saml_i2c_master.h index 743d927fc1..a83a60bd2e 100644 --- a/arch/arm/src/samdl/chip/saml_i2c_master.h +++ b/arch/arm/src/samdl/chip/saml_i2c_master.h @@ -153,7 +153,7 @@ # define I2C_CTRLA_MODE_MASTER (5 << I2C_CTRLA_MODE_SHIFT) /* I2C master mode */ #define I2C_CTRLA_RUNSTDBY (1 << 7) /* Bit 7: Run in standby */ #define I2C_CTRLA_PINOUT (1 << 16) /* Bit 16: Transmit data pinout */ -# define I2C_CTRLA_1WIRE (0) /* 4-wire operation disable */ +# define I2C_CTRLA_2WIRE (0) /* 4-wire operation disable */ # define I2C_CTRLA_4WIRE I2C_CTRLA_PINOUT /* 4-wire operation enable */ #define I2C_CTRLA_SDAHOLD_SHIFT (20) /* Bits 20-21: SDA Hold Time */ #define I2C_CTRLA_SDAHOLD_MASK (3 << I2C_CTRLA_SDAHOLD_SHIFT)