• Jeffrey Lee's avatar
    Fix sticky SD activity LED on Pi 3 B · 486e778f
    Jeffrey Lee authored
      s/SDIO - Signed counter wrap-around once &80007fff was reached was causing the code to think the activity LED was permanently off, resulting in the code only making "turn on" requests. Calculating the difference as a (signed) 16bit value solves the problem.
      Tested on Pi 3 B
      Fixes SD activity LED being stuck on after e.g. letting Verify run for a few seconds.
    Version 0.57. Tagged as 'BCM2835-0_57'
VersionNum 803 Bytes