corrected points which were found during review of @stefan123t

This commit is contained in:
lumapu 2022-09-09 08:09:12 +02:00
parent f651811359
commit b1fa6e0702
3 changed files with 29 additions and 11 deletions

View file

@ -10,7 +10,7 @@
<h1>Update</h1>
<div id="content" class="content">
<div>
Make sure that you have noted all or settings before starting an update. New versions maybe changed their memory layout which remains in default settings.
Make sure that you have noted all your settings before starting an update. New versions may have changed their memory layout which can break your existing settings.
</div>
<br/><br/>
<form method="POST" action="/update" enctype="multipart/form-data" accept-charset="utf-8">

View file

@ -48,11 +48,11 @@
ch0.appendChild(sub);
switch(j) {
case 2: total[j] += val; break;
case 6: total[j] += val; break;
case 7: total[j] += val; break;
case 8: total[j] += val; break;
case 10: total[j] += val; break;
case 2: total[j] += val; break; // P_AC
case 6: total[j] += val; break; // YieldTotal
case 7: total[j] += val; break; // YieldDay
case 8: total[j] += val; break; // P_DC
case 10: total[j] += val; break; // P_ACr
}
}
}