11 lines
348 B
Python
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}") |