Go Down

Topic: % Division in USART interrupt code... (Read 5299 times) previous topic - next topic

Coding Badly


Half of a regression.  Some of the effected code is new.   :D

dgerman

Can an authoritative, knowledgeable person  change
hardware/arduino/cores/arduino/HardwareSerial.cpp:

from:
volatile unsigned int head;
volatile unsigned int tail;

to:
volatile uint8_t head;
volatile uint8_t tail;


Coding Badly


The most effective way to get a change made to the software is to...

• Create an issue here...
http://code.google.com/p/arduino/issues/list

• Either attach a diff file to the issue or create a pull request here...
https://github.com/arduino/Arduino/

• You may want to work against the more actively developed version 1.5...
https://github.com/arduino/Arduino/tree/ide-1.5.x

drjiohnsmith

I would not hold your breath on changes.

the number of bugs in the code that are known and documented is depressing.

if your on windows, you might want to look at this,

http://arduino.cc/forum/index.php/topic,118440.0.html

hes sorted out quite a few buts and pieces that the official guys dont seem to be able to,




Go Up