Fix unselecting SD CS pin
This commit is contained in:
parent
f44d1ab582
commit
8b0068859b
1 changed files with 4 additions and 0 deletions
|
|
@ -453,8 +453,12 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
document.getElementById('sd-card-pin-select').classList.remove('hidden');
|
||||
} else {
|
||||
document.getElementById('sd-card-pin-select').classList.add('hidden');
|
||||
appState.usedPins.delete(appState.sdCardCS);
|
||||
document.getElementById('manual-sd-cs-pin').textContent = '';
|
||||
document.getElementById('sd-cs-pin').textContent = '';
|
||||
appState.sdCardCS = null;
|
||||
}
|
||||
populatePinsLists();
|
||||
});
|
||||
|
||||
// RTC type selection handler
|
||||
|
|
|
|||
Loading…
Reference in a new issue