Pumpkin, Inc.

Pumpkin User Forums

Message's and const

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

Message's and const

Postby ChrisV » Tue Feb 13, 2001 2:13 am

Is this method of passing data to the ALARM message allowed?, I have tried this and was unsucessful.

const char al_zone[4]= {1,2,3,4};
OSSignalMsg(ALARM,(OStypeMsgP)&al_zone[2]);

I have reverted to using a static variable in the task doing this signaling.

My original goal here was to use the constant, so I could free up RAM.

ChrisV
 
Posts: 10
Joined: Wed Jan 24, 2001 12:00 am
Location: Chandler, AZ

Re: Message's and const

Postby Salvo Tech Support » Tue Feb 13, 2001 6:44 am

Hi ChrisV.

Yes, but you must set OSBIG_MESSAGE_POINTERS to TRUE.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am


Return to Coding

Who is online

Users browsing this forum: No registered users and 2 guests

cron