Added Set Log Level Commands
This commit is contained in:
@@ -259,7 +259,7 @@ void BellEngine::activateNote(uint16_t note) {
|
||||
if (bellConfig == 0) continue;
|
||||
|
||||
// Convert 1-indexed config to 0-indexed bellIndex
|
||||
uint8_t bellIndex = bellConfig-1;
|
||||
uint8_t bellIndex = bellConfig - 1;
|
||||
|
||||
// Additional safety check to prevent underflow crashes
|
||||
if (bellIndex >= 255) {
|
||||
@@ -311,7 +311,8 @@ void BellEngine::activateNote(uint16_t note) {
|
||||
LOG_VERBOSE("🔥🔥 BATCH FIRED %d bells SIMULTANEOUSLY!", bellDurations.size());
|
||||
|
||||
// 🔔 NOTIFY WEBSOCKET CLIENTS OF BELL DINGS!
|
||||
notifyBellsFired(firedBellIndices);
|
||||
// * deactivated currently, since unstable and causes performance issues *
|
||||
// notifyBellsFired(firedBellIndices);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user