diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-04-18 18:50:10 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-07-26 12:18:56 +0200 |
commit | a056282246abd36e7b9ccc8dc60ff2abd481a1dd (patch) | |
tree | b8bd9fb83f0da910f34b3382b040fe3a8d3fd06f /bootloaders/bt | |
parent | bda85506eae7807ac4ad96ee9df5c1760761002f (diff) |
Use uint8_t for HardwareSerial ringbuffer pointers
Since the buffers aren't bigger than 64 bytes, these values can be
smaller. This saves a few bytes of ram, but also saves around 50 bytes
of program space, since the values can now be loaded using a single
instruction.
To prevent problems when people manually increase the buffer size, a
compile-time check is added.
Closes: #1078
Diffstat (limited to 'bootloaders/bt')
0 files changed, 0 insertions, 0 deletions