cupi icon indicating copy to clipboard operation
cupi copied to clipboard

Incorrect revision-detection in cupi/src/board.rs

Open lurch opened this issue 9 years ago • 0 comments

Hello,

I just noticed that the // old way code at the bottom of cupi/src/board.rs is wrong. I'm not a Rust programmer, but it seems to be treating revisions "0005" and "0009" the same (RaspberryModel::B) but if you look at http://elinux.org/RPi_HardwareHistory you can see that "0005" is indeed a Model B, but "0009" is actually a Model A! And you make a similar mistake with "0007" (again, Model A and not Model B)

And less importantly, "000f" (made by Qisda and not Egoman) and "0014" (made by Embest and not Sony).

lurch avatar Sep 12 '16 23:09 lurch