Description: disable removed non-free atmel driver
Author: Milan Kupcevic <milan@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/examples/board_i2ctest/atmega1280_i2ctest.c
+++ b/examples/board_i2ctest/atmega1280_i2ctest.c
@@ -44,7 +44,7 @@
 
 static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL,
                                          _FDEV_SETUP_WRITE);
-
+/*
 static void
 test_twi_with_atmel_driver(void)
 {
@@ -81,7 +81,7 @@
 			sleep_mode();
 	}
 }
-
+*/
 /*
  * Tests the TWI using a commonly used and non-interrupt driven
  * alternative to the Atmel driver:
@@ -126,9 +126,9 @@
 	stdout = &mystdout;
 
 	sei();
-
+/*
 	test_twi_with_atmel_driver();
-
+*/
 	/*
 	 * This should produce *exactly* the same output as above, except
 	 * the data written should be D00D as opposed to DEAD.
--- a/examples/board_i2ctest/Makefile
+++ b/examples/board_i2ctest/Makefile
@@ -37,7 +37,6 @@
 include ${simavr}/Makefile.common
 
 atmega1280_${target}.axf: atmega1280_${target}.c twimaster.c
-atmega1280_${target}.axf: ${simavr}/examples/shared/avr_twi_master.c
 atmega1280_${target}.axf: ${simavr}/examples/shared/avr_twi_master.h
 
 board = ${OBJ}/${target}.elf
