Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
[disabled]="isLocked()"
(stateChange)="onSwitchStateChange($event)"
/>
<lock-button [locked]="isLocked()" (pressed)="onLockButtonClick()"></lock-button>
@if (lockButtonEnabled()) {
<lock-button [locked]="isLocked()" (pressed)="onLockButtonClick()"></lock-button>
}
</hstack>
<seven-segment-display
[value]="controlStateDisplay()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default class EfuseCardComponent implements OnInit, OnDestroy {
autoDigits = input<number>(3);
autoDecimals = input<number>(1);
notice = input<string>(''); // Component param allowing you to put a note/warning/etc, in the top-right corner of the card.
lockButtonEnabled = input<boolean>(true);

// ── Shared seven-segment display inputs ──
readonly largeDisplayFontSize: number = 80;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
commandKey="Shutdown"
[maxCurrent]="'1'"
[notice]="'Note: Shutdown eFuse can\'t be turned off from here.'"
[lockButtonEnabled]="false"
/>

<!-- LV eFuse -->
Expand Down