1
Description: Using the Ubuntu version of arduino-core and avr-gcc
2
makes it impossible to get the example Arduino Webserver working.
4
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645321
5
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/865266
7
Index: arduino/libraries/Ethernet/utility/w5100.h
8
===================================================================
9
--- arduino.orig/libraries/Ethernet/utility/w5100.h 2011-10-15 23:10:12.425924788 -0400
10
+++ arduino/libraries/Ethernet/utility/w5100.h 2011-10-15 23:11:29.917926630 -0400
13
static uint16_t read##name(SOCKET _s) { \
14
uint16_t res = readSn(_s, address); \
15
- res = (res << 8) + readSn(_s, address + 1); \
16
+ uint16_t res2 = readSn(_s,address + 1); \
18
+ res2 = res2 & 0xFF; \
22
#define __SOCKET_REGISTER_N(name, address, size) \