Added Sync Time to LCD, Fixed UTC Timestamp issues
This commit is contained in:
@@ -263,13 +263,6 @@ void Player::loadMelodyInRAM() {
|
||||
|
||||
if (BuiltInMelodies::loadBuiltInMelody(uidStr, _melodySteps)) {
|
||||
LOG_INFO("✅ Built-in melody loaded successfully: %d steps", _melodySteps.size());
|
||||
|
||||
// Set default speed from built-in melody info
|
||||
const BuiltInMelodies::MelodyInfo* melodyInfo = BuiltInMelodies::findMelodyByUID(uidStr);
|
||||
if (melodyInfo && speed == 0) {
|
||||
speed = melodyInfo->defaultSpeed;
|
||||
LOG_DEBUG("Using default speed: %d ms/beat", speed);
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
LOG_ERROR("Failed to load built-in melody: %s", uidStr.c_str());
|
||||
|
||||
Reference in New Issue
Block a user