bugAVR C Runtime Library - Bugs: bug #11817, replace SYSCLK with F_CPU

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11817: replace SYSCLK with F_CPU

Submitter:  None
Submitted:  Wed 02 Feb 2005 11:26:12 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  8 Item Group:  None
Status:  None Assigned to:  arcanum
Percent Complete:  100% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Mon 07 Feb 2005 11:13:25 PM UTC, comment #4: 

Fixed on HEAD. Closed.

Eric Weddington <arcanum>
Group administrator
Mon 07 Feb 2005 10:48:29 PM UTC, comment #3: 

Fixed in 1.2 branch.

Eric Weddington <arcanum>
Group administrator
Mon 07 Feb 2005 09:46:57 PM UTC, comment #2: 

Eric,

I used to use SYSCLK in my private files previously, and
from there, it "diffused" into twidemo.

There seemed to be consensus for F_CPU though, so when I
updated <avr/delay.h> for millisecond/microsecond inline
function, I used that one as the CPU frequency macro.

Now, we should document only one of those, and as the delay
macros constitute an official interface, let's change
twidemo from SYSCLK to F_CPU as well, so people don't get
confused.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 07 Feb 2005 09:33:17 PM UTC, comment #1: 

Please explain:
- What avr-libc version do you see a bug in?
- What the actual bug is?
AFAICT, SYSCLK is used in the documentation and in the TWI example code. Why is F_CPU needed?

Eric Weddington <arcanum>
Group administrator
Wed 02 Feb 2005 11:26:12 AM UTC, original submission:  

Pls. use only F_CPU in documentation (TWI example).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-07 arcanum Percent Complete50% 100%
    Open/ClosedOpen Closed
2005-02-07 arcanum Percent Complete0% 50%
2005-02-07 arcanum StatusNeed Info None
2005-02-07 arcanum StatusNone Need Info
    Assigned toNone arcanum
2005-02-07 joerg_wunsch Priority5 - Normal 8

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code