aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/i2c_software.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/i2c_software.c b/src/i2c_software.c
index 01fce4c6..d2072a56 100644
--- a/src/i2c_software.c
+++ b/src/i2c_software.c
@@ -38,13 +38,6 @@ DECL_COMMAND(command_i2c_set_sw_bus,
"i2c_set_sw_bus oid=%c scl_pin=%u sda_pin=%u"
" pulse_ticks=%u address=%u");
-// The AVR micro-controllers require specialized timing
-#if CONFIG_MACH_AVR
-
-#define i2c_delay(ticks) (void)(ticks)
-
-#else
-
static void
i2c_delay(uint32_t ticks)
{
@@ -53,8 +46,6 @@ i2c_delay(uint32_t ticks)
;
}
-#endif
-
static void
i2c_software_send_ack(struct i2c_software *is, const uint8_t ack)
{