diff --git a/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch b/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch new file mode 100644 index 0000000..e2378a0 --- /dev/null +++ b/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch @@ -0,0 +1,13 @@ +--- /tmp/avrdude-5.10/avrdude.conf.in 2011-01-31 22:40:13.496017390 +0100 ++++ avrdude-5.10/avrdude.conf.in 2011-01-31 22:41:05.824017388 +0100 +@@ -318,8 +318,8 @@ + id = "gpio"; + desc = "Use gpio_dev to bitbang GPIO lines"; + type = gpio; +- reset = 0; +- sck = 3; ++ reset = ~0; ++ sck = ~3; + mosi = 1; + miso = 2; + ;