lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
254 stars 130 forks source link

`microbit_seed_random()` doesn't always create a random seed when SD is running #495

Open microbit-carlos opened 3 weeks ago

microbit-carlos commented 3 weeks ago

Originally reported in:

And debugged in:

We might need to update it as shown in:

When SD is running we think maybe we are hitting this error condition and using the default seed instead of a random one: https://github.com/lancaster-university/microbit-dal/blob/318c6abbb3d952d3f49a595a726486230e82fb5b/source/core/MicroBitDevice.cpp#L346-L347