Simplify resistance to colour calculations, removing some bugs in the process.
commit29503eea8631348530a22c2e6ef452758821d81e
authorFrank Gevaerts <frank@gevaerts.be>
Wed, 13 Oct 2010 20:13:39 +0000 (13 20:13 +0000)
committerFrank Gevaerts <frank@gevaerts.be>
Wed, 13 Oct 2010 20:13:39 +0000 (13 20:13 +0000)
tree06a23ebeeb66778bd68251542dff2e898e548ab3
parentc85ff1c0c95f9bf22e1d1fb4c202e1dcdabbb3db
Simplify resistance to colour calculations, removing some bugs in the process.

Fixes the bugs that triggered FS#11667

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28269 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/resistor.c