Added Sync Time to LCD, Fixed UTC Timestamp issues

This commit is contained in:
2026-01-28 10:28:05 +02:00
parent 094b1a9620
commit 53c55d2726
5 changed files with 478 additions and 117 deletions

View File

@@ -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());