Skip to content

Commit a5f81a5

Browse files
committed
Add auto config false at device config level + PCF8563
1 parent 8b00688 commit a5f81a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ <h3>Real-time clock (RTC) Configuration</h3>
359359
<select id="rtc-select">
360360
<option value="soft">Software RTC</option>
361361
<option value="PCF8523">PCF8523</option>
362+
<option value="PCF8563">PCF8563</option>
362363
<option value="DS3231">DS3231</option>
363364
<option value="DS1307">DS1307</option>
364365
</select>
@@ -509,7 +510,7 @@ <h2>6. Selected Components</h2>
509510
<div id="generate-section" class="section hidden">
510511
<h2>7. Generate Configuration</h2>
511512
<button id="generate-config-btn">Generate Configuration</button>
512-
<input type="checkbox" id="use-auto-init" onchange="javascript:appState.enableautoConfig=this.checked;"> <label for="use-auto-init" title="Auto config fallback for I2C sensors that fail to initialise (selects alternative sensors at same address)">Use Auto Init fallback</label>
513+
<input type="checkbox" id="use-auto-init" onchange="javascript:appState.enableautoConfig=this.checked;"> <label for="use-auto-init" title="Auto config fallback for I2C sensors that fail to initialise (selects alternative sensors at same address)">Use Auto Init fallback for failed or unspecified components (default)</label>
513514
<div id="config-output-container" class="hidden">
514515
<h3>Configuration JSON:</h3>
515516
<pre id="config-output" class="config-output"></pre>

wippersnapper-config-builder.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,8 @@ function generateConfiguration() {
19521952
referenceVoltage: appState.selectedBoard.referenceVoltage,
19531953
totalGPIOPins: appState.selectedBoard.totalGPIOPins,
19541954
totalAnalogPins: appState.selectedBoard.totalAnalogPins,
1955-
statusLEDBrightness: appState.statusLEDBrightness
1955+
statusLEDBrightness: appState.statusLEDBrightness,
1956+
autoConfig: appState.enableautoConfig
19561957
},
19571958
components: []
19581959
};

0 commit comments

Comments
 (0)