1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
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
|