diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-04-18 18:52:48 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-07-26 12:39:56 +0200 |
commit | 714874dd8c4d4bdf9acb648f55c9f482c1901098 (patch) | |
tree | 0753463898c6b24ebc34b52ee0908e7b6adffcf8 /libraries/Ethernet/examples/WebServer | |
parent | a056282246abd36e7b9ccc8dc60ff2abd481a1dd (diff) |
Move buffers into HardwareSerial
This removes the need for doing an extra pointer dereference on every
access to the buffers, shrinking the code by around 100 bytes.
The members for these buffers must be public for now, since the
interrupt handlers also need to access them. These can later be made
private again.
Furthermore, the struct ring_buffer was removed. This allows the all
head and tail pointers to be put into the HardwareSerial struct before
the actual buffers, so the pointers all end up in the first 32 bytes of
the struct that can be accessed using a single instruction (ldd).
References: #947
Diffstat (limited to 'libraries/Ethernet/examples/WebServer')
0 files changed, 0 insertions, 0 deletions