Jump to content

Missing Adresl Definition 18f*550


Recommended Posts

Not a bug, but just a missing definition.

 

In the include file PIC18F4550.H, we see the following declaration at the top of the file:

 

#define ADRESL                0x00000FC3 
#define ADRESH                0x00000FC4

 

and at the direct access definitions section at the end, we see:

 

volatile char adresh                 @ADRESH;

 

but adresl is not declared, which means we simply have to add

volatile char adresl                 @ADRESL;

to the include file.

 

I have not checked the other include files, but the same is also missing is PIC18F2550.H

 

Fixing this in future releases is obviously not difficult nor important, but just a step closer towards BoostC perfection ;)

 

Cheers all.

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...