Pages: 1 [2]   Go Down
Author Topic: % Division in USART interrupt code...  (Read 3994 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Half of a regression.  Some of the effected code is new.   smiley-grin
Logged

NJ, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 48
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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;

Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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
Logged

Offline Offline
Sr. Member
****
Karma: 3
Posts: 327
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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,



Logged

Pages: 1 [2]   Go Up
Jump to: