FS#12023 - Fixing Ohm's Law, R = V/I, not I/V (resistor.c)

Attached to Project: Rockbox
Opened by Leif Andersen (LeifAndersen) - Tuesday, 22 March 2011, 00:21 GMT
Last edited by Andree Buschmann (Buschel) - Friday, 25 March 2011, 07:22 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Inside the help section of the resistor plugin, an explanation of Ohm's law is given. In it, Ohm's law is put in three different forms:

V = IR
I = V/R
R = I/V

As you can tell, the last one is in correct. (Or at a very minimum, is not possible given the two previous equations being correct). Thus, this (hopefully quick) patch rectifies the problem.

I'm using the latest svn trunk at the moment: r29630

This task depends upon

Closed by  Andree Buschmann (Buschel)
Friday, 25 March 2011, 07:22 GMT
Reason for closing:  Accepted
Additional comments about closing:  Submitted with r29644.