In RaspberryPiLib.cpp's Wait() (on line 82), time to wait is calculated with
uint32 target = ticks + ( time * 800 );
where 800 is a magic number based on the default clockspeed. If there's a way to detect the current clockspeed (or even just detect on boot), maybe it should use that instead?
In RaspberryPiLib.cpp's
Wait()(on line 82), time to wait is calculated withuint32 target = ticks + ( time * 800 );where 800 is a magic number based on the default clockspeed. If there's a way to detect the current clockspeed (or even just detect on boot), maybe it should use that instead?