Files
buzzer/buzzer_tool/core/commands/confirm.py
2026-03-02 00:25:40 +01:00

11 lines
348 B
Python

# core/commands/confirm.py
from core.connection import BuzzerError
def execute(conn):
"""Bestätigt die aktuell laufende Firmware per Binary-Protokoll."""
try:
conn.confirm_firmware()
print("✅ Firmware erfolgreich bestätigt.")
except BuzzerError as e:
print(f"❌ Fehler beim Bestätigen der Firmware: {e}")