Page 1 of 1

salvo.h and #define OSC

PostPosted: Wed Aug 02, 2006 9:16 am
by Code_Nerd
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


Re: salvo.h and #define OSC

PostPosted: Wed Aug 02, 2006 9:55 am
by Code_Nerd
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


Re: salvo.h and #define OSC

PostPosted: Thu Aug 03, 2006 12:30 am
by aek
No, that should work fine.

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