My question is regarding LOCAL variables of functions that main() calls. When that function exits and was using FAR local variables, will it release them without specifically calling xrelease?

You cannot use the keyword far in a local variable unless you also use the keyword static as in:
 
static far int x;
 
You do not need to xrelease the variable.

Last updated: Oct 04, 2024

Filed Under

Embedded

Recently Viewed

No recently viewed articles

Did you find this article helpful?