• Jeffrey Lee's avatar
    Power saving tweaks & timer fixes · a404ce4c
    Jeffrey Lee authored
    Detail:
      * When help is enabled, use event_poll_idle() (i.e. Wimp_PollIdle) instead of regular event_poll() to limit our update rate to a sensible value
      * Adjust send_help_request() so that it won't send another request if the pointer state hasn't changed since the last request (otherwise constant wimp message activity will prevent the Wimp from entering low power mode)
      * Fix a couple of time value comparisons to not be subject to problems when the monotonic timer wraps around
      Files changed: c/main, h/defines
    Admin:
      Tested on Raspberry Pi 3
      Fixes issue reported on forums with !Help preventing the system from switching to low CPU speed:
      https://www.riscosopen.org/forum/forums/4/topics/9074
    
    
    Version 3.24. Tagged as 'Help2-3_24'
    a404ce4c
defines 2.14 KB