Hi all,
Looking into some C18 code I came across this code snippet before the main code:
Why is #pragma udata called three times with two of those times having nothing to the right of it and why don't the unsigned char's have #pragma udata in front of them?
Thank you,
JP
Looking into some C18 code I came across this code snippet before the main code:
Rich (BB code):
// Define the globals for the USB data in the USB RAM of the PIC18F*550
#pragma udata
#pragma udata USB_VARIABLES=0x500
unsigned char ReceivedDataBuffer[64];
unsigned char ToSendDataBuffer[64];
#pragma udata
USB_HANDLE USBOutHandle = 0;
USB_HANDLE USBInHandle = 0;
BOOL blinkStatusValid = FLAG_TRUE;
Thank you,
JP