1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-30 11:24:12 +01:00
Arduino/hardware/arduino/avr/cores
Matthijs Kooijman e0a9a7676b 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
2013-07-26 12:18:56 +02:00
..
arduino Use uint8_t for HardwareSerial ringbuffer pointers 2013-07-26 12:18:56 +02:00
robot String: fixed number of whitespaces in concat() methods 2013-06-28 09:53:25 +02:00