Pumpkin, Inc.

Pumpkin User Forums

salvo.h and #define OSC

If you can't make Salvo do what you want it to do, post it here.

salvo.h and #define OSC

Postby Code_Nerd » Wed Aug 02, 2006 9:16 am

Is this define needed in the salvo.h header file?

It is interferring with my

code:
#pragma config OSC = HS

Or is there some sort of work around?

Regards
Code

Code_Nerd
 
Posts: 24
Joined: Sun Apr 23, 2006 11:00 pm

Re: salvo.h and #define OSC

Postby Code_Nerd » Wed Aug 02, 2006 9:55 am

I have remembered that I can #undef OSC however I was wondering if this will cause some problems with Salvo?
Was thinking of doing this:
code:
#ifndef OSC
#undef OSC
#endif

Regards
Code

Code_Nerd
 
Posts: 24
Joined: Sun Apr 23, 2006 11:00 pm

Re: salvo.h and #define OSC

Postby aek » Thu Aug 03, 2006 12:30 am

No, that should work fine.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to Coding

Who is online

Users browsing this forum: No registered users and 1 guest