On Fri 2018-03-16 23:40:36, Oleh Kravchenko wrote: > Did you mean to do "recount" every 1000 brightness changes? If that works, yes. My idea was... you are already using schedule_work, so why not schedule_delayed_work() and get rid of timer? https://static.lwn.net/images/pdf/LDD3/ch07.pdf Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature