Page 1 of 1

SERINtimeout in C

Posted: Wed Jan 30, 2013 1:24 am
by YahooArchive
Hello,
I am getting an error when compiling (using C) whenever I try to use
SERINtimeout = 5000000; in my code. As if it not declared, I cannot find it in
any of the include files.

Please, help.
Thanks, Ken

Re: SERINtimeout in C

Posted: Wed Jan 30, 2013 1:24 am
by YahooArchive
> I am getting an error when compiling (using C) whenever I try to use
SERINtimeout = 5000000; in my code. As if it not declared, I cannot find it in
any of the include files.

this line should be in cor_hwlib.h (an oversight), or you can just put it in
your source

extern int SERINtimeout;

And it will link

Re: SERINtimeout in C

Posted: Wed Jan 30, 2013 1:26 am
by YahooArchive
I sent another reply where I stated when I changed the value of SERINtimout to
5000000 it did not seem to have any effect. But I compiled and downloaded the
program again, and now it is having an effect. So thanks anyways. I don't know
what the difference is.
Thanks, Ken