• Jeffrey Lee's avatar
    Fix sticky SD activity LED on Pi 3 B · 486e778f
    Jeffrey Lee authored
    Detail:
      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.
    Admin:
      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'
    486e778f
VersionNum 803 Bytes