Fix sticky SD activity LED on Pi 3 B
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'
Showing with 14 additions and 12 deletions