Files
Bubberstation/code/controllers/subsystem
pigeons 4e05dd63f9 Fixes timer id collision (#29437)
The list of active timers timer_id_dict identifies timers by their numerical id as a string. However this was done using embedded expressions inside the string, which calls num2text with a default of 6 significant figures. This means anything at or above 1 million is expressed in scientific notation.

"timer[1000000]" -> "timer1e+06"
"timer[1000001]" -> "timer1e+06"

Calling num2text manually with 8 significant figures kicks the collision problem down the road to 2^24 (16 million).

nextid is now selectively incremented and is looped back to 1 when reaching the 2^24 threshold.
Also now includes collision checking.
2017-07-26 11:48:21 +12:00
..
2017-05-11 10:04:19 -04:00
2017-06-08 20:22:34 -04:00
2017-05-11 10:04:19 -04:00
2017-07-15 11:08:40 -04:00
2017-05-11 10:04:19 -04:00
2017-07-25 09:44:19 +12:00
2017-05-11 10:04:19 -04:00
2017-05-23 19:36:48 -04:00
2017-05-11 10:04:19 -04:00
2017-05-11 10:04:19 -04:00
2017-05-11 10:04:19 -04:00
2017-07-22 17:41:46 -04:00
2017-05-11 10:04:19 -04:00
2017-05-11 10:04:19 -04:00
2017-05-11 10:04:19 -04:00
2017-05-11 10:04:19 -04:00
2017-07-26 11:48:21 +12:00
2017-05-18 21:53:46 +10:00
2017-05-11 10:04:19 -04:00