Re: iButton anyone?

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Daniel Stasinski
Päiväys:  
Vastaanottaja: Main PLUG discussion list
Aihe: Re: iButton anyone?
> for logging usage. After 30k uses, it prevents the machine
> from working anymore. My boss tasked me with finding
> out how to get around


I could be flat wrong but 30k is close to 32k, which is one of those
magical numbers. It could be incrementing a counter that is evaluated
as a 16 bit signed integer (which overflows at 32767 + 1). Depending
on the rest of the code, it could be as simple as changing it to a
long integer.

Daniel

| ---------------------------------------------------------------
| Daniel P. Stasinski          | http://www.saidsimple.com
|          | http://www.disabilities-r-us.com
| XMMP:    | http://www.avenues.org
| Google Talk: mooooooo        | http://www.scriptkitties.com

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss