diff --git a/main/http_server/axe-os/src/app/components/edit/edit.component.ts b/main/http_server/axe-os/src/app/components/edit/edit.component.ts index cb2dfbe7..21976098 100644 --- a/main/http_server/axe-os/src/app/components/edit/edit.component.ts +++ b/main/http_server/axe-os/src/app/components/edit/edit.component.ts @@ -68,6 +68,10 @@ export class EditComponent implements OnInit { { name: '1200', value: 1200 }, { name: '1250', value: 1250 }, { name: '1300', value: 1300 }, + { name: '1350', value: 1350 }, + { name: '1400', value: 1400 }, + { name: '1450', value: 1450 }, + { name: '1500', value: 1500 }, ]; public BM1366CoreVoltage = [ { name: '1100', value: 1100 }, diff --git a/main/http_server/axe-os/src/app/components/home/home.component.ts b/main/http_server/axe-os/src/app/components/home/home.component.ts index bd9debd7..dd4557c8 100644 --- a/main/http_server/axe-os/src/app/components/home/home.component.ts +++ b/main/http_server/axe-os/src/app/components/home/home.component.ts @@ -40,7 +40,7 @@ export class HomeComponent { datasets: [ { type: 'line', - label: '10 Minute', + label: 'Hashrate', data: [], fill: false, backgroundColor: primaryColor, @@ -135,14 +135,14 @@ export class HomeComponent { if (info.ASICModel === eASICModel.BM1366) { const version = parseInt(info.boardVersion); if (version >= 400 && version < 500) { - return (info.frequency * ((894 * 6) / 1000)) + return Math.floor(info.frequency * ((894 * 6) / 1000)) } else { - return (info.frequency * (894 / 1000)) + return Math.floor(info.frequency * (894 / 1000)) } } else if (info.ASICModel === eASICModel.BM1397) { - return (info.frequency * (672 / 1000)) + return Math.floor(info.frequency * (672 / 1000)) } else if (info.ASICModel === eASICModel.BM1368) { - return (info.frequency * (1276 / 1000)) + return Math.floor(info.frequency * (1276 / 1000)) } return undefined; diff --git a/main/http_server/axe-os/src/app/components/logs/logs.component.html b/main/http_server/axe-os/src/app/components/logs/logs.component.html index e3b4dfa1..eccb2aac 100644 --- a/main/http_server/axe-os/src/app/components/logs/logs.component.html +++ b/main/http_server/axe-os/src/app/components/logs/logs.component.html @@ -37,7 +37,11 @@