M+ always copied the power part of the result, even after performing an addition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5002 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2f20b3e784
commit
ae7df4d0ac
1 changed files with 4 additions and 2 deletions
|
@ -1103,10 +1103,12 @@ void basicButtonsProcess(void){
|
|||
formatResult();
|
||||
if (memTemp > MINIMUM)
|
||||
doAdd(&memTemp, &memTempPower, result, power);
|
||||
else
|
||||
else {
|
||||
/* if result is too small and memTemp = 0,
|
||||
doAdd will not add */
|
||||
memTemp = result; memTempPower = power;
|
||||
memTemp = result;
|
||||
memTempPower = power;
|
||||
}
|
||||
calStatus = cal_normal;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue