View Single Post
Old 11-27-2014, 11:03 PM   #201
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by traycold View Post
hi GeoffR,
any chance to have this patch for custom auto-off timeout for 3.11?
Also, do you think it is possible to overcome limit of 255 minutes?
Ideally, I would like to set 1 day(=1440 min) or 2 days(=2880 min).
I've added this patch to post #2.

The 1-255 minute limit is because a 2-byte "movs" instruction is used to load the values in the code. Loading values larger than 255 requires a 4-byte instruction or multiple instructions, and there is not enough space to fit a larger instruction without re-writing the code, which is a lot of work.
GeoffR is offline   Reply With Quote