Fixed Indexing on Bell Output Assignments

This commit is contained in:
2025-10-18 18:43:51 +03:00
parent cc0bec97b5
commit 470d7bfacc
5 changed files with 27 additions and 33 deletions

View File

@@ -44,7 +44,7 @@ void ConfigManager::createDefaultBellConfig() {
// Initialize default durations (90ms for all bells)
for (uint8_t i = 0; i < 16; i++) {
bellConfig.durations[i] = 90;
bellConfig.outputs[i] = i + 1; // 1-indexed mapping by default
bellConfig.outputs[i] = i; // 0-indexed mapping
}
}