riscv-rust / longan-nano

Board support package for the Longan Nano board
https://www.seeedstudio.com/Sipeed-Longan-Nano-RISC-V-GD32VF103CBT6-Development-Board-p-4205.html
117 stars 30 forks source link

Make converting SD card frequency easier #24

Closed dcz-self closed 3 years ago

dcz-self commented 3 years ago

The SdCardFreq struct is public, and it's effectively used only for one purpose: converting to Hertz. So let's make that functionality public too, in the form of the From trait.

dcz-self commented 3 years ago

Bump - this is a simple change, could someone review it?